IV05652: OOM NATIVE MEMORY EXHAUSTED LOADING A CLASS WHEN RUNNING -XCOMPR ESSEDREFS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.OutOfMemoryError: native memory
    exhausted
    .
    Stack Trace: <OSB>4/24/11 21:31:10:057 EDT<CSB> 00000020
    FfdcProvider I FFDC provider error
    java.lang.OutOfMemoryError: native memory exhausted
    at com.ibm.oti.vm.VM.findClassOrNull(Native Method)
    at
    com.ibm.oti.vm.BootstrapClassLoader.loadClass(BootstrapClassLoad
    er.java:62)
    at
    sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFi
    eldAccessorFactory.java:73)
    at
    sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory
    .java:134)
    at java.lang.reflect.Field.acquireFieldAccessor(Field.java:945)
    at java.lang.reflect.Field.getFieldAccessor(Field.java:912)
    at java.lang.reflect.Field.get(Field.java:371)
    at
    com.ibm.ffdc.util.formatting.Introspector$2.run(Introspector.jav
    a:149)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:254)
    at
    com.ibm.ffdc.util.formatting.Introspector.getValue(Introspector.
    java:145)
    at
    com.ibm.ffdc.util.formatting.Introspector.formatTo(Introspector.
    java:106)
    at
    com.ibm.ffdc.util.provider.IncidentStream$2.writeTo(IncidentStre
    am.java:194)
    at
    com.ibm.ffdc.util.provider.IncidentStream.write(IncidentStream.j
    ava:198)
    at
    com.ibm.ffdc.util.provider.IncidentStream.write(IncidentStream.j
    ava:129)
    at
    com.ibm.ffdc.util.formatting.Introspector.formatTo(Introspector.
    java:109)
    at
    com.ibm.ffdc.util.provider.IncidentStream$2.writeTo(IncidentStre
    am.java:194)
    at
    com.ibm.ffdc.util.provider.IncidentStream.write(IncidentStream.j
    ava:198)
    at
    com.ibm.ffdc.util.provider.IncidentStream.write(IncidentStream.j
    ava:129)
    at
    com.ibm.ffdc.util.formatting.Introspector.formatTo(Introspector.
    java:109)
    at
    com.ibm.ffdc.util.provider.IncidentStream$2.writeTo(IncidentStre
    am.java:194)
    at
    com.ibm.ffdc.util.provider.IncidentStream.write(IncidentStream.j
    ava:198)
    at
    com.ibm.ffdc.util.provider.IncidentStream.write(IncidentStream.j
    ava:129)
    at
    com.ibm.ffdc.util.provider.CapturedDataElements.formatTo(Capture
    dDataElements.java:53)
    at
    com.ibm.ffdc.util.provider.IncidentLogger.writeIncidentTo(Incide
    ntLogger.java:63)
    at
    com.ibm.ws.ffdc.impl.FfdcProvider.logIncident(FfdcProvider.java:
    172)
    at
    com.ibm.ws.ffdc.impl.FfdcProvider.logIncident(FfdcProvider.java:
    108)
    at
    com.ibm.ffdc.util.provider.FfdcProvider.log(FfdcProvider.java:25
    1)
    at
    com.ibm.ffdc.util.provider.FfdcProvider.log(FfdcProvider.java:23
    7)
    at com.ibm.ws.ffdc.impl.FfdcProvider.log(FfdcProvider.java:118)
    at
    com.ibm.ffdc.util.provider.IncidentEntry.log(IncidentEntry.java:
    96)
    at com.ibm.ffdc.util.provider.Ffdc.log(Ffdc.java:94)
    at
    com.ibm.ffdc.util.provider.FfdcProvider.log(FfdcProvider.java:29
    2)
    at com.ibm.ffdc.impl.Ffdc.log(Ffdc.java:225)
    at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:129)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1648)
    ------------------------
    <OSB>4/25/11 9:37:40:265 EDT<CSB> 00000093 servlet E
    com.ibm.ws.webcontainer.servlet.ServletWrapper service
    SRVE0014E: Uncaught service() exception root cause
    /themes/html/PageBuilder2/modules/pagebuilder/markup/config.jsp:
    com.ibm.websphere.servlet.error.ServletErrorReport:
    java.lang.OutOfMemoryError: native memory exhausted
    at
    org.apache.jasper.runtime.PageContextImpl.handlePageException(Pa
    geContextImpl.java:695)
    at com.ibm._jsp._config._jspService(_config.java:585)
    at
    com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1147)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:722)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:449)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
    (ServletWrapperImpl.java:178)
    at
    com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleR
    equest(GenericServletWrapper.java:122)
    at
    com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrappe
    r.handleRequest(AbstractJSPExtensionServletWrapper.java:205)
    .
    

Local fix

Problem summary

  • A JVM running with -Xcompressesrefs may run out of native memory
    when loading a class or creating a new thread. The JVM needs
    32-bit native memory for classes and threads. It reserves a
    certain amount of 32-bit native memory for this purpose and
    allocates more on demand. If all the available 32-bit native
    memory has been exhausted for other purposes and none is
    available when loading a class or creating a new thread, a
    "java.lang.OutOfMemoryError: native memory exhausted" will
    occur.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.1 GA FP2
    .
    More 32-bit native memory is reserved by the JVM.
    .
    To obtain the fix:
    Install build 20110609 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV05652

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-08-17

  • Closed date

    2011-08-17

  • Last modified date

    2011-08-17

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Virtual Machine

Software version:

260

Reference #:

IV05652

Modified date:

2011-08-17

Translate my page

Machine Translation

Content navigation