cancel
Showing results for 
Search instead for 
Did you mean: 

Slow runtime of java mapping in PI7.0

Former Member
0 Kudos

Hi ,

I searched the forum but could not get any suitable answer for the scenario given below.

File -


> java mapping (to transfer file with FTP from FTP serverr to NFS server) -


> IDoc

java mapping is using the FTP to transfer the file from FTP server to the NFS server.

When i am testing with interface mapping with a 1 GB file it is taking 100 seconds. But when we are going for end to end scenario it is taking more than 20 minute for the same file (1 GB).

Do any of you have any idea why is it taking so much time ?

Accepted Solutions (0)

Answers (2)

Answers (2)

AaronLong
Advisor
Advisor
0 Kudos

Hi,

can you upload the performance header ?

However,

Strongly recommend you split the 1G file into smaller chunks.

what is implemented in the mapping to transfer file ?

why not just use the file communication channel.

Cheers,

Aaron

Former Member
0 Kudos

Hi Sabyasachi,

take into account the following:

- When you test from your interface mapping, the input document is already loaded in memory (you have loaded it previously to execute the test).

- At runtime, there are going to be 4 persistence steps. The sender file adapter is going to persist the 1GB file, the integration engine is going to persist the message twice (inbound and outbound queues) and also the idoc adapter in PI is going to persist the message as it creates the target idoc.

- For such big files, try not using DOM to parse the xml file, as it is going to load the hole structure in memory. SAX or any other similar is going to do it much quicker.