IBM Support

PH61509: OUTOFMEMORYERROR JAXRSCLIENTCONFIGHOLDER HOLD A LOT OF HASHMAP$NODE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • OutOfMemoryError occurred since
    com.ibm.ws.jaxrs20.clientconfig.JAXRSClientConfigHolder had a
    large number of HashMap$Node. The hashmap was holding 686,868
    entries, the total size was about 350 MB in 512 MB java heap.
    MAT shows each hashmap entries have URL string.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Liberty              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Memory leak in JAXRSClientConfigHolder  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    OutOfMemoryError can occur due to
    com.ibm.ws.jaxrs20.clientconfig.JAXRSClientConfigHolder holding
    a
    large number of HashMap objects. The memory is not being freed
    during a normal GC cycle.
    

Problem conclusion

  • This problem was caused by the fact that
    JAXRSClientConfigHolder
    stored search results in a HashMap that will not be freed in a
    normal GC cycle.   The solution was to change this to a
    LinkedHashMap that will allow for memory to be cleared during a
    GC.
    
    OL Issue:
    https://github.com/OpenLiberty/open-liberty/issues/28877
    
    The fix for this APAR is targeted for inclusion in fix pack
    24.0.0.7. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61509

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-05-26

  • Closed date

    2024-07-01

  • Last modified date

    2024-07-01

  • 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

    LIBERTY PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
02 July 2024