To troubleshoot an OOM you can do the following:
Set the parameter -XX:+HeapDumpOnOutOfMemoryError , so you can trap the error if the issue happens again.
To create a Java memory dump the next time the JAVA OOM occurs, modify the file:
$DLC/properties/AdminServerPlugins.properties
In the section:
[PluginPolicy.Progress.AdminServer]
Add the parameter:-XX:+HeapDumpOnOutOfMemoryError
Example:
jvmArgs =- Xmx1024m -DLogLevel = 5 -XX:+HeapDumpOnOutOfMemoryError
In some cases it may be advisable to add -DLogLevel=5 to catch more details when this happens however this may cause significant additional messages to be written to the admserv.log. |