Atrium Integrator: java.lang.OutOfMemoryError: GC overhead limit exceeded

Version 4
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Atrium CMDB Suite


    COMPONENT:

    BMC Atrium Core


    APPLIES TO:

    CMDB/Atrium Integrator 8.0 and above



    PROBLEM:

     

     Running a job with many CIs shows an Out of Memory Error.

      

    2012/05/23 23:14:35 - Dummy (do nothing).0 - ERROR (version 3.2.4-stable, build 11672 from 2010-01-28 11.09.00 by buildguy) : UnexpectedError: java.lang.OutOfMemoryError: GC overhead limit exceeded

      

    2012/05/23 23:15:47 - Thread[HP_uCMDB_Import (HP_uCMDB_Import (Thread-1207)),5,main] - ERROR (version 3.2.4-stable, build 11672 from 2010-01-28 11.09.00 by buildguy) : java.lang.OutOfMemoryError: GC overhead limit exceeded

      

    2012/05/23 23:15:48 - ProductRelation9 - Transformation detected one or more steps with errors.

      

     

     


    CAUSE:

    JAVA garbage collector parameter not configured


    SOLUTION:

     

    Legacy ID:KA372313

      

    Enable -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="c:\temp\MyDump.hprof" for both Spoon and Carte.

    The garbage collector parameter can be added as follows:

    1. For Carte Server (armonitor.cfg/conf file)

    "%BMC_JAVA_HOME%\java.exe" -Xmx1024m  -XX:+UseConcMarkSweepGC -classpath "C:\Program Files\Java\jre1.8.0_161\lib\ext\*;C:\Program Files\Java\jre1.8.0_161\lib\*;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\*;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\lib\*" "-Dorg.mortbay.util.URI.charset=UTF-8" "-DKETTLE_HOME=C:\Program Files\BMC Software\ARSystem\diserver" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_MAX_LOG_SIZE_IN_LINES=5000" "-DKETTLE_DISABLE_CONSOLE_LOGGING=Y" "-DKETTLE_COMPATIBILITY_MERGE_ROWS_USE_REFERENCE_STREAM_WHEN_IDENTICAL=Y" "-DKETTLE_LENIENT_STRING_TO_NUMBER_CONVERSION=Y" org.pentaho.di.www.Carte arserver.bmc.com 20000 -i "C:\Program Files\BMC Software\ARSystem"

    2. For Spoon (Spoon.bat/sh)

    if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" -XX:+UseConcMarkSweepGC "-XX:MaxPermSize=256m"

      

    Normally the -XX:+UseConcMarkSweepGC will do the trick and stop the Out of Memory Errors.

      

    Otherwise you will get a dump in c:\temp location that you can analyze to understand what generated the error.

     


    Article Number:

    000074246


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles