IBM Support

JR47530: MEMORY LEAK IN PROCESS CENTER - COACHNGRESOURCEIMPL LEADS TO JAVA.LANG.OUTOFMEMORYERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Same issue as APAR JR45226 occurs in Process Center.
    
    If user is working in a fairly large process application or
    toolkit, with many coach views, Process Designer will run out of
    memory after a short amount of time after doing a variety of
    actions (such as saving changes to editors, or even
    opening/closing coach view artifacts).
    
    USER AFFECTED:
    Business Process Manager Advanced, Standard and Express users
    leveraging New Generation Coaches and Coach views in a fairly
    large workspace.
    
    PROBLEM DETAILED DESCRIPTION:
    Code change introduced in 8.0.1 included a static resource.  The
    static resource set, while improving temporal performance,
    introduced a memory leak because all loaded layouts were never
    being released from memory
    
    From Heapdumps:
    
    109,152,416 (8.16%) [32] 35 class
    com/ibm/bpm/coachNG/util/CoachNGResourceImpl 0x277f2840
     108,598,096 (8.12%) [48] 3
    org/eclipse/emf/ecore/resource/impl/ResourceSetImpl 0x2ae290c8
      108,597,608 (8.12%) [24] 2
    org/eclipse/emf/ecore/resource/impl/ResourceSetImpl$ResourcesELi
    st
    0x2d810ac0
       108,597,584 (8.12%) [20,648] 4,424 array of
    org/eclipse/emf/ecore/resource/Resource 0x3bde4250
        867,360 (0.06%) [120] 9
    com/ibm/bpm/coachNG/util/CoachNGResourceImpl 0x3e1d5ce8
        867,360 (0.06%) [120] 9
    com/ibm/bpm/coachNG/util/CoachNGResourceImpl 0x3b5f8e10
         866,016 (0.06%) [24] 2
    org/eclipse/emf/ecore/resource/impl/ResourceImpl$ContentsEList
    0x3b10de48
          865,992 (0.06%) [32] 1 array of
    org/eclipse/emf/ecore/EObject
    0x3b10de60
           865,960 (0.06%) [40] 3
    com/ibm/bpm/coachNG/impl/DocumentRootImpl
    0x3b5ed690
            865,520 (0.06%) [40] 5
    org/eclipse/emf/ecore/util/BasicFeatureMap 0x3b5eece8
             865,480 (0.06%) [32] 1 array of
    org/eclipse/emf/ecore/util/FeatureMap$Entry$Internal 0x3b183370
              865,448 (0.06%) [16] 2
    org/eclipse/emf/ecore/impl/EStructuralFeatureImpl$ContainmentUpd
    atingFea
    tureMapEntry 0x3b183388
               865,432 (0.06%) [32] 2
    com/ibm/bpm/coachNG/impl/LayoutImpl
    0x3b183398
                865,400 (0.06%) [32] 3
    org/eclipse/emf/ecore/util/EObjectContainmentEList 0x3b1833b8
                 865,368 (0.06%) [56] 7 array of
    com/ibm/bpm/coachNG/BaseLayoutItem 0x3b1833d8
                  732,152 (0.05%) [64] 8
    com/ibm/bpm/coachNG/impl/ViewRefImpl 0x3b183498
                  47,752 (0%) [64] 8
    com/ibm/bpm/coachNG/impl/ViewRefImpl
    0x3b1835b8
                  33,536 (0%) [64] 7
    com/ibm/bpm/coachNG/impl/ViewRefImpl
    0x3b183528
    

Local fix

  • N/A
    

Problem summary

  • This is an issue caused by the same code that caused a memory
    leak and was fixed through JR45226, for client side, Process
    Designer. The memory leak can occur on the server side as well.
    
    USER AFFECTED:
    Business Process Manager Advanced, Standard and Express
    
    PROBLEM DETAILED DESCRIPTION:
    Code change introduced in 8.0.1 included a static resource.  Th
    static resource set, while improving temporal performance,
    introduced a memory leak because all loaded layouts were never
    being released from memory.
    
    Evidence can be seen through Heapdumps:
    
    109,152,416 (8.16%) [32] 35 class
    com/ibm/bpm/coachNG/util/CoachNGResourceImpl 0x277f2840
     108,598,096 (8.12%) [48] 3
    org/eclipse/emf/ecore/resource/impl/ResourceSetImpl 0x2ae290c8
      108,597,608 (8.12%) [24] 2
    org/eclipse/emf/ecore/resource/impl/ResourceSetImpl$ResourcesELi
    st
    0x2d810ac0
       108,597,584 (8.12%) [20,648] 4,424 array of
    org/eclipse/emf/ecore/resource/Resource 0x3bde4250
        867,360 (0.06%) [120] 9
    com/ibm/bpm/coachNG/util/CoachNGResourceImpl 0x3e1d5ce8
        867,360 (0.06%) [120] 9
    com/ibm/bpm/coachNG/util/CoachNGResourceImpl 0x3b5f8e10
         866,016 (0.06%) [24] 2
    org/eclipse/emf/ecore/resource/impl/ResourceImpl$ContentsEList
    0x3b10de48
          865,992 (0.06%) [32] 1 array of
    org/eclipse/emf/ecore/EObject
    0x3b10de60
           865,960 (0.06%) [40] 3
    com/ibm/bpm/coachNG/impl/DocumentRootImpl
    0x3b5ed690
            865,520 (0.06%) [40] 5
    org/eclipse/emf/ecore/util/BasicFeatureMap 0x3b5eece8
             865,480 (0.06%) [32] 1 array of
    org/eclipse/emf/ecore/util/FeatureMap$Entry$Internal 0x3b183370
              865,448 (0.06%) [16] 2
    org/eclipse/emf/ecore/impl/EStructuralFeatureImpl$ContainmentUpd
    atingFea
    tureMapEntry 0x3b183388
               865,432 (0.06%) [32] 2
    com/ibm/bpm/coachNG/impl/LayoutImpl
    0x3b183398
                865,400 (0.06%) [32] 3
    org/eclipse/emf/ecore/util/EObjectContainmentEList 0x3b1833b8
                 865,368 (0.06%) [56] 7 array of
    com/ibm/bpm/coachNG/BaseLayoutItem 0x3b1833d8
                  732,152 (0.05%) [64] 8
    com/ibm/bpm/coachNG/impl/ViewRefImpl 0x3b183498
                  47,752 (0%) [64] 8
    com/ibm/bpm/coachNG/impl/ViewRefImpl
    0x3b1835b8
                  33,536 (0%) [64] 7
    com/ibm/bpm/coachNG/impl/ViewRefImpl
    0x3b183528
    

Problem conclusion

  • Removed the static resource set, and introduced proper resource
    set usage while still maintaining temporal performance goals.
    
    FIX AVAILABILITY:
    Fix for 8.0.1.1 is available on Fix Central, search for APAR
    JR47530 at http://www.ibm.com/support/fixcentral/
    
    When downloading fix package from Fix Central, please ensure to
    download and thoroughly review the complimentary readme, which
    includes install instructions, and more info about the
    particular fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR47530

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-15

  • Closed date

    2013-10-11

  • Last modified date

    2014-03-07

  • 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

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 January 2022