IBM Support

PI47875: EXCESSIVE MEMORY USE WHEN AN APPLICATION USES MANY CLASSLOADERS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When an application uses thousands of classloaders, a reference
    to these might be held by the
    com.ibm.ws.naming.jcache.CacheManager class, resulting in
    excessive memory use.
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Excessive memory use by applications    *
    *                      using large numbers of classloaders     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A heapdump will show a large number of classloader references
    held by com.ibm.ws.naming.jcache.CacheManager.  None of these
    classloaders or the classes they have loaded can be garbage
    collected.
    

Problem conclusion

  • The size of the naming cache is unbounded by default. An
    existing JVM property,
    com.ibm.websphere.naming.jndicache.maxcachelife can be set to
    limit cache lifetime, but the CacheManager was continuing to
    hold references to classloaders even though cached lookup
    results had been cleared.
    
    The code is revised so that when maxcachelife is set,
    classloader references will be periodically cleared.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.9.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Set the JVM property
    com.ibm.websphere.naming.jndicache.cacheobject=none to disable
    caching.  Note that this might degrade naming lookup
    performance.
    

Comments

APAR Information

  • APAR number

    PI47875

  • 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

    2015-08-31

  • Closed date

    2015-10-20

  • Last modified date

    2015-10-20

  • 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:
28 April 2022