IBM Support

PK79574: OUTOFMEMORY PROBLEM OCCURING WHEN USING APPLICATION SERVER 6.1.0.19 INCLUDING THE FEATURE PACK FOR EJB 3.0

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After upgrading to WebSphere 6.1.0.19 the following exception
    could be observed
    
    ----------------------------------------------------------------
    java.lang.OutOfMemoryError: Java heap space
    at java.util.ArrayList.ensureCapacity(ArrayList.java:169)
    at java.util.ArrayList.add(ArrayList.java:351)
    at
    org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDat
    aRepository.java:676)
    at
    org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataR
    epository.java:575)
    at
    org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepos
    itory.java:500)
    at
    org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataR
    epository.java:302)
    ...
    ----------------------------------------------------------------
    
    A bug report for the open JPA was opened to address the above
    problem.
    
    https://issues.apache.org/jira/browse/GERONIMO-4275
    
    https://issues.apache.org/jira/browse/OPENJPA-536
    
    A fix has been incorporated into the open JPA within WebSphere.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Feature Pack for EJB 3.0                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: An OutOfMemoryException is thrown       *
    *                      during Java Persistence API (JPA)       *
    *                      metadata processing.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem was a result of the problem in the usage of
    a TreeSet object to manage entity inheritance relationships.
    
    Symptoms of this problem is the throwing of an
    OutOfMemoryException with
    org.apache.openjpa.meta.MetaDataRepository.getMetaData
    having a membership in the Exception stack trace.
    
    For example:
    
    java.lang.OutOfMemoryError
     at java.util.ArrayList.ensureCapacity(ArrayList.java:195)
     at java.util.ArrayList.add(ArrayList.java:377)
     at org.apache.openjpa.meta.MetaDataRepository.processBuffer(
        MetaDataRepository.java:676)
     at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(
        MetaDataRepository.java:575)
     at org.apache.openjpa.meta.MetaDataRepository.
        resolve(MetaDataRepository.java:500)
     at org.apache.openjpa.meta.MetaDataRepository.getMetaData(
        MetaDataRepository.java:302)
     at org.apache.openjpa.meta.MetaDataRepository.getMetaData(
        MetaDataRepository.java:357)
    

Problem conclusion

  • The processing of inheritance metadata was redesigned to
    utilize a List implementation that could order its members
    by their place in the inheritance organization.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 6.1.0.25.  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

    PK79574

  • Reported component name

    WAS EJB3 FEATUR

  • Reported component ID

    5724J0851

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-01-28

  • Closed date

    2009-02-11

  • Last modified date

    2009-02-11

  • 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 EJB3 FEATUR

  • Fixed component ID

    5724J0851

Applicable component levels

  • R610 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":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 December 2021