IBM Support

Mustgather: Setup for OutOfMemoryErrors on AIX®

Troubleshooting


Problem

If your Java application experiences OutOfMemory(OOM) errors on an AIX® operating system, there are a number of diagnostic data files that are useful for diagnosing the problem. This mustgather document describes about the required settings to be in place in order to generate those diagnostic data files.

Resolving The Problem

In order to collect the diagnostic data files required for diagnosing the OutOfMemory errors, check that the following specific settings are configured before running your application:

1. Enable javacore generation
2. Enable core dump generation
3. Enable heapdump generation
4. Enable snap trace generation for native OOM errors

Please note that all the javacore, core dump, heap dump and snap trace generation can be enabled using the below single Xdump option:

For memory leak issues:
-Xdump:java+system+heap+snap:events=user+abort+gpf

For OutOfMemory issues:
-Xdump:java+system+heap+snap:events=throw+systhrow,filter=java/lang/OutOfMemoryError

5. Enable verbose GC collection


Please use -verbose:gc option for the same

6. Enable process sizes monitoring

For more details about enabling these settings, please see the related information links.

[{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Out of Memory","Platform":[{"code":"PF002","label":"AIX"}],"Version":"8.0;7.1;7.0;6.1;6.0;5.0","Edition":"J2SE","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21222475