IBM Support

JR46851: MEMORY LEAK DURING ADVANCED APP INSTALL LEADING TO OOM OOM MAY ALSO OCCUR UNDER OTHER ADVANCED SCENARIO LOAD TESTS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Installing several BPM Advanced applications in a row may result
    in an OutOfMemoryError (OOME) exception.
    
    It has been found that OutOfMemory may also occur when
    running BPM Advanced Scenarios and not just during Application
    Installation.  This can occur even with low load.
    
    
    The following symptoms are indications of this problem:
    
    A Memory leak suspect with heap consmption and growing number of
    instances in following classes
    
    com.ibm.ws.box.bomodel.impl.BOHelperContextImpl
    com.ibm.xml.xci.SessionContext
    com.ibm.xml.xci.adapters.xlxp.util.XLXPResourceManager$MergerCon
    text
    
    As memory decreases, performance will be affected.
    Thread dumps/javacores analysis may show threads that are
    detected as being hung or blocked in the following code:
    
    com/ibm/xml/xci/type/TypeRegistry.getXSModel() line 1091
    com/ibm/xml/xci/type/TypeRegistry.getGlobalXSType() line 1216
    com/ibm/xml/sdo/helper/TypeHelperMap.getType() line 841
    com/ibm/xml/sdo/helper/TypeHelperImpl.getType() line 358
    com/ibm/xml/sdo/helper/TypeHelperImpl.getType() line 611
    com/ibm/xml/sdo/helper/DataFactoryImpl.create() line 60
    com/ibm/ws/box/BOModelHolder.create() line 445
    com/ibm/ws/box/service/BOXFactoryImpl.createHelper() line 125
    com/ibm/ws/box/service/BOXFactoryImpl.create() line 99
    com/ibm/ws/bo/delegate/BOFactoryDelegate.create()
    .
    .----------------------------------------------------
       The heapdump will show a leak suspect similar to this
    1,643,073,952 (76.49%) [24] 2 java/util/Hashtable$Entry
    0xf9853a0
    |- 1,643,073,384 (76.49%) [32] 75 class
    com/ibm/ws/sca/internal/jms/AbstractJMSInboundImpl 0x11a54d00
       |- 1,642,977,256 (76.48%) [32] 25 class
    com/ibm/wsspi/sca/container/ComponentMetaDataManager 0x1436f3b0
          |- 1,642,972,736 (76.48%) [32] 14 class
    com/ibm/ws/sca/internal/container/Container 0x12f0008
             |- 1,642,967,976 (76.48%) [32] 14 class
    com/ibm/ws/sca/internal/container/ContainerFactory 0x12f0038
                |- 1,642,967,896 (76.48%) [32] 15 class
    com/ibm/ws/sca/internal/container/impl/ContainerFactoryImpl
    0x12f0068
                   |- 1,642,967,864 (76.48%) [32] 149 class
    com/ibm/ws/sca/internal/container/impl/ContainerImpl 0x12f00c8
                      |- 1,185,379,528 (55.18%) [32] 13 class
    com/ibm/ws/bo/spi/BOModeSPI 0x4716e08
                         |- 1,185,379,456 (55.18%) [32] 30 class
    com/ibm/ws/bo/impl/BOConfigInfo 0x2661388
                            |- 1,185,379,224 (55.18%) [24] 4
    com/ibm/ws/bo/impl/BOConfigInfo 0x3a1a8e8
                               |- 1,185,378,520 (55.18%) [48] 2
    java/util/HashMap 0x4a23ee8
                                  |- 1,185,378,456 (55.18%)
    [131,088] 14,901
    array of java/util/HashMap$Entry 0x54abf758
                                     |- 354,896 (0.02%) [24] 3
    java/util/HashMap$Entry 0x7b636b60
                                     |- 301,552 (0.01%) [24] 3
    java/util/HashMap$Entry 0x701219b8
                                     |- 301,552 (0.01%) [24] 3
    
    .--------------------------------------------------
       There may also this shown by a classloader trace
    a new set of classloder traces including the suggested
    -Xtrace setting.
    This clearly shows the stacktrace which is generating the leak
    of
    URLClassLoaders:
    
    >
    java/net/URLClassLoader.<init>([Ljava/net/URL;Ljava/lang/ClassLo
    ader;)V
    Compiled method, This = 7bfff548
    jstacktrace:
    [1] java.net.URLClassLoader.<init> (URLClassLoader.java:211)
    (Compiled Code)
    [2]
    com.ibm.ws.install.configmanager.utils.ClassPathModifier.addURLT
    oClassPath (ClassPathModifier.java:108) (Compiled Code)
    [3]
    com.ibm.ws.install.configmanager.utils.ClassPathModifier.addFile
    ToClassPath (ClassPathModifier.java:80) (Compiled Code)
    [4] com.ibm.wsspi.profile.WSProfileTemplate.addJarToClasspath
    (WSProfileTemplate.java:1878) (Compiled Code)
    [5]
    com.ibm.wsspi.profile.WSProfileTemplate.unmarshallResourceBundle
    Metadata (WSProfileTemplate.java:888) (Compiled Code)
    [6]
    com.ibm.wsspi.profile.WSProfileTemplate.parseTemplateMetadata
    (WSProfileTemplate.java:621)
    [7] com.ibm.wsspi.profile.WSProfileTemplate.<init>
    (WSProfileTemplate.java:80)
    .----------------------------------------
    
    
    
    This fix is considered REQUIRED / MANDATORY.
    

Local fix

Problem summary

  • During installation of BPM Advanced applications the artifact
    loader creates classloaders.
    These classloaders were not cleaned up after application
    installation which eventually results in an OutOfMemory
    exception.
    

Problem conclusion

  • The application installation code has been fixed to no longer
    leak classloaders.
    
    iFix available on top of BPM 8.5.0.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR46851

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-06

  • Closed date

    2013-06-13

  • Last modified date

    2015-02-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021