IBM Support

PI14746: Memory leak in J2C PoolManager due to reaper alarms not being cancelled.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the PoolManager is stopped, the Reaper Alarms are not
    canceled and this can result in a possible OutOfMemory
    condition.
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Memory Leak in J2C PoolManager when     *
    *                      using MQ JMS Connection Factory         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This memory leak specifically manifests itself when
    applications use the JMS Queue Connection Factory  that
    involves a JMS Connection pool and JMS Session pool. When the
    Managed connection is destroyed due to unused or aged
    timeouts, then the associated JMS Session pool will be
    stopped and destroyed and the reaper alarms associated with
    the PoolManager should also be cancelled.
    The Session pool is being stopped, however, the
    PoolManager instances registered in the reaper alarms is not
    getting destroyed and the alarms are repeatedly created and
    cancelled for every reap cycle. This causes the PoolManager
    objects and its associated reaper alarm objects to stay on the
    heap forever, potentially leading to OutOfMemory conditions.
    Heap analyzer tools might show a leak suspect with a stack
    trace similar to this:
    A Linked List Data Structure Detected.
    1,981,662,352 bytes (47.28 %) of Java heap is used by 44
    instances of
    java/util/concurrent/ConcurrentSkipListMap$Index
    Contains the following object:- 44 instances of
    java/util/concurrent/ConcurrentSkipListMap$Node holding
    5,366,608 bytes
    TotalSize [ObjectSize] NumberOfChildObject(249,874) ObjectName
    Address
    |- 1,981,966,928 [24] 1
    java/util/concurrent/ConcurrentSkipListMap$HeadIndex
    0xf7766298
    |- 1,981,966,904 [24] 2
    java/util/concurrent/ConcurrentSkipListMap$HeadIndex
    0xf180b1b8
    |- 1,981,966,544 [24] 3
    java/util/concurrent/ConcurrentSkipListMap$Index 0xffa75200
    |- 1,453,166,232 [24] 3
    java/util/concurrent/ConcurrentSkipListMap$Index 0xffa751e8
    |- 528,679,664 [24] 3
    java/util/concurrent/ConcurrentSkipListMap$Index 0x1055a3258
    |- 120,624 [24] 3
    java/util/concurrent/ConcurrentSkipListMap
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI14746

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-03-28

  • Closed date

    2014-05-02

  • Last modified date

    2017-08-10

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022