cancel
Showing results for 
Search instead for 
Did you mean: 

MII Performance with Large XML

Former Member
0 Kudos

HI,

We are facing performance issue while parsing XML of large size of around 50MB.

Initially XMII was crashing due to "out of heap memory error". However, with some changes the problem has been removed.But

now, we are facing an issue with time taken by the Payload to execute. Its taking more than half-an-hour to execute the transaction.

The solution tried so far has decreased the time to half-an-hour. earlier it was taking more than one and half hour to process.

We have tried parallel processing by asynchronous call to the transactions

Is there any way to further reduce the time of processing?

Further, is it possible to find out which parser is used by MII internally for XML SAX or DOM Parser.

Thanks

Amit

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member4529
Active Contributor
0 Kudos

Hi,

Let me know if you find the [blog |http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/24458] [original link is broken]; useful.

Thanks,

Dipankar

Former Member
0 Kudos

Kindly do the following things

1. To increase the heap size open the workbench in Firefox , while opening one jnlp file of workbench will be downloaded.

Open this jnlp file in a notepad and increase the memory size and heap size depending on your requirement and system configuration.Then save this file as it is with the extension as .jnlp. Now double click this saved jnlp file of workbench. So, this will solve your Heap problem.

2.Best practice is to use XSLT transformation in your BLS to get optimised result, also please check recursive calls in the BLS.

Hope this will solve the issue:)

agentry_src
Active Contributor
0 Kudos

Hi Amit,

What does your MII system and environment look like?

How are you passing the IDoc? Is it through a Listener or through PI or a combination?

What type of IDoc are you processing? Why is it that large? Is it a standard IDoc or a customized IDoc?

Regards,

Mike

Former Member
0 Kudos

Hi Amit,

Just some tips to improve performance of BLS.

1. Use Xpath whenever possible.

2. Remove unnecessary repeaters performing on BLS.

3. Check the Like to Optimizing BLS Performance.

If you are storing the data in database. just pass whole xml to query and insert data using bulk insert.

Thanks

Anshul