IBM Support

IV05726: APPLICATION THROWS JAVA.LANG.OUTOFMEMORYERROR WHEN TRYING TO CRE ATE A THREAD

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

  • Error Message: java.lang.OutOfMemoryError: Failed to create a
    thread:
    .
    Stack Trace: N/A
    .
    

Local fix

  • There are two possible workarounds:
    1) Reduce the maximum size of heap by using -Xmx option
    2) Reduce the maximum size of JIT scratch memory by using
    -Xjit=scratchSpaceLimit=<nnn>
    

Problem summary

  • This issue shows mainly on platforms with limited virtual memory
    available to applications. For instance, on Windows 32bit, by
    default applications have a virtual address space of 2GB (the
    remaining 2GB is used by kernel). Java heap, VM data structures,
    classes, JIT data structures, etc. need to fit in this
    relatively small space. It is possible that at some point the
    application will exhaust this space, no thread can be created
    and therefore the application will terminate with the
    OutOfMemory message
    

Problem conclusion

  • This defect will be fixed in:
    6.0.1 GA FP2
    .
    The JIT has been changed to monitor the remaining virtual memory
    space available to applications and reduce the amount of memory
    needed for compilations when remaining memory space is under a
    certain threshold. The compilations that need more memory than
    the threshold will be aborted which may affect performance.
    .
    To obtain the fix:
    Install build 20110517 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV05726

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • 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

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 August 2011