Skip to Content
author's profile photo Former Member
Former Member

"Performance" problems with the File adapter on Plain J2SE Adapter Engine


At the moment I'm on a customer side to solve some XI issues for a few days. One of the issues is the performance of the Plain J2SE Adapter Engine, using the file adapter to transfer XML messages(already XI message format) from the legacy system to the Integration Engine. The File adapter has to deal with "large" XML messages(max at the moment is 65 Mb) and the engine fails with the following error when transferring the big XML file: "ERROR: Finished sending to Integration Engine with error "java.lang.OutOfMemoryError". Skip confirmation and quit this loop".

As far I got the information from the customer the memory use of the Plain adapter engine is set to 512Mb. This is maybe to low. But I don't know where to look for this, I only have the adapter web interface in front of me, no access to the OS it self via for example remote connection.

On the Integration Engine I know there is the ability to split large message with the file adapter(File Content Conversion), but I don't know this for the Plain Adapter Engine. Is there a possibility to do this also on the Plain Adapter Engine?

Thanks in advance for any input.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2005 at 11:40 AM

    Hi Patrick

    The way file adapter works is that it loads the entire file in memory and as a result, when it comes to huge files it fails. But one solution you can look at is, maybe write a Java code, which breaks the input file into smaller chunks and then try loading the smaller chunks into XI. This way you can avoid that OutOfMemoryError.

    Also you can use the "Recordsets per Message" feature in file content conversion, using this you can create more than one message into XI from a single file. Check the following link,



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sameer,

      Thanks for your answers.

      On the first solution, yes that is possible, we first decided to see if the legacy system can do the splitting, before starting developing a Java program.

      On the second solution, as far as I know is this solution possible on the Integration Engine. But we are facing the problems on the Plain J2SE Adapter Engine. I went trough that documentation(link: ), to look for I similiar solution in the Plain Adapter Engine. So my question is, is this possible with the Plain Adapter? And if so, what kind of parameters I need to use to achieve this.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.