IBM Support

PI56340: OutOfMemoryError from org.apache.bval.cdi.BValExtension$Releasab le objects not being released.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When both CDI 1.2 and Bean Validation 1.1 features are
    enabled, the Liberty server may encounter a
    java.lang.OutOfMemoryError.  Analysis of a heap dump will
    show a very large number of
    org.apache.bval.cdi.BValExtension$Releasable objects
    present.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - Java Persistence   *
    *                  API (JPA)                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: OutOfMemoryError from                   *
    *                      org.apache.bval.cdi.BValExtension$Relea *
    *                      sable objects not being released.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When both CDI 1.2 and Bean Validation 1.1 features are enabled,
    the Liberty server may encounter a java.lang.OutOfMemoryError.
    Analysis of a heap dump will show a very large number of
    org.apache.bval.cdi.BValExtension$Releasable objects present.
    

Problem conclusion

  • This memory leak was due to the wrong Bean Validation object
    factory intermittently being invoked when CDI 1.2 and Bean
    Validation were both enabled.  The Bean Validation runtime code
    has been updated to correctly detect when to use its CDI enabled
    object factory.  This ensures that CDI enabled managed objects
    are properly managed and released when no longer needed by the
    Bean Validation object factory.
    
    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

Comments

APAR Information

  • APAR number

    PI56340

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-29

  • Closed date

    2016-02-01

  • Last modified date

    2016-02-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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

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

Document Information

Modified date:
28 April 2022