IBM Support

PI66193: MEMORY LEAK IN JPA PERSISTENCE PROVIDER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A memory leak can occur in the WebSphere Application Server
    v8.5.5 JPA provider implementation:
    
    - 33 instances of "com.ibm.ws.jpa.management.JPAPUnitInfo",
    loaded by "com.ibm.ws.runtime" occupy 155,428,889 (28.76%)
    bytes.
    
    Heap dump analysis has shown that approximately 25 of 33
    persistence units hold a reference to a temporary class loader
    which consumes about 5MB of memory. As a consequence,
    approximately 125MB of memory are leaked.
    
    The problem occurs with the WebSphere Application Server
    default provider implementation
    (com.ibm.websphere.persistence.PersistenceProviderImpl) as well
    as with OpenJPA's default provider implementation
    (org.apache.openjpa.persistence.PersistenceProviderImpl).
    
    Setting exclude-unlisted-classes to true has no effect.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Memory is being wasted by too many      *
    *                      copies of the application classloader   *
    *                      by the JPA integration runtime.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The JPA integration runtime created excessive copies of the
    application classloader for persistence unit processing.
    

Problem conclusion

  • A single copy of the application classloader is now utilized
    to service temporary classloader needs by a JPA persistence
    provider implementation.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.12 and 9.0.0.4.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI66193

  • 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

    2016-07-20

  • Closed date

    2017-01-23

  • Last modified date

    2017-01-23

  • 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

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
16 October 2021