Skip to Content

OutOfMemory error on large file processing in sender file adapter

Hi Experts,

I got file to IDOC scenario, sender side we are using remote adapter engine, files are processing fine when the size is below 5mb, if the file size is more than 5mb we are getting java.lang.OutOfMemoryError: java heap space. can anyone suggest me what parameter i need to change in order to process more than 5mb.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 08, 2011 at 07:13 AM

    Hi Praveen,

    Suggestion from SAP is not to process huge files at a time. Instead, you can make the into chunks and process.

    To increase the heap Memory:

    For Java heap-size and other memory requirements, Refer to the following OSS note for details:

    Note 723909 - Java VM settings for J2EE 6.40/7.0

    Also check out the OSS Note 862405 - XI Configuration Options for Lowering Memory Requirements

    There are oss notes available for the Java Heap size settings specific to the OS environment too.

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 08, 2011 at 07:13 AM

    Hi Praveen

    It seems to like problem with the java heap space. Try to increase java heap size. For this, you have to contact your basis team.

    Please see the sap notes: 994433, 883444, 874123, 760721.

    Regards,

    P.Rajesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 08, 2011 at 07:55 AM

    You need to increase Java Heap Size memory.

    To do this, go to RZ10 transaction, and modify your system's profile configuration for this parameter.

    Add comment
    10|10000 characters needed characters exceeded