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.
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21222475