IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  InvocationTargetExceptionOutOfMemoryError

    Posted 01/21/05 12:16 AM

    We are getting following error message when EDI document is posted by user using http post.

    java.lang.reflect.InvocationTargetException-OutOfMemoryError

    If anyone has any idea on this please let me know.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: InvocationTargetExceptionOutOfMemoryError

    Posted 01/21/05 06:15 PM

    Atul,

    This error is exactly as it sounds: the IS runs out of memory when processing your document.

    IS isn’t the most efficient user of memory, plus it is limited by the JVM as to how much it can allocate for itself. If you look in server.bat/server.sh, you should see lines near the top that look something like this:

    set JAVA_MIN_MEM=128M
    set JAVA_MAX_MEM=256M

    As expected, these lines limit the amount of memory available to IS. If you increase JAVA_MAX_MEM to some larger number, you shouldn’t see that error again. However, it may take some experimentation to find the correct number. Larger EDI files will take larger amounts of memory to process.

    As an aside, keep in mind that the amount of memory used by the java process as reported at a system level does not reflect what the IS is using. That value also includes JVM overhead that can’t be used by IS. See the IS web admin page for info on its memory usage.

    Hope this helps,
    Tate


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB