IBM Support

IV77624: JVM PROCESS BEING TERMINATED BY THE LINUX OUT-OF-MEMORY KILLER

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: N/A
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • On Linux, if the system is about to exhaust the physical memory,
    the kernel will pick a process to kill to free memory resources
    and remain operational. This is called the Linux out-of-memory
    killer.
    During a compilation, the JIT compiler inside a JVM uses memory
    for its internal data structures. This memory, referred to as
    'scratch' memory, is released at the end of the compilation. The
    IBM JDK imposes a 256 MB limit on the amount of scratch memory
    the JIT compiler can use.
    However, for a small class of methods (belonging to
    java/lang/invoke package) this limit is increased to 1.5 GB. If
    the system is already low on physical memory and the JIT
    compiler needs to compile such a method, it's possible that the
    entire physical memory gets exhausted and the OS may kill the
    JVM.
    

Problem conclusion

  • The JIT code has been modified to monitor for availability of
    physical memory at the beginning of the compilation and change
    the limit on scratch memory accordingly.
    Note that this solution reduces the likelihood of the JVM being
    killed by the OS, but does not prevent it altogether.
    This is because other threads in the JVM (including application
    threads) or other processes in the system may allocate memory
    while the JIT compilation is progressing.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2       (8.0.2.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV77624

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-30

  • Closed date

    2015-09-30

  • Last modified date

    2015-09-30

  • 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

  • R130 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":"130","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 September 2015