Salesforce

How to create a HeapDump for out of memory error on the AppServer (8419)

« Go Back

Information

 
TitleHow to create a HeapDump for out of memory error on the AppServer (8419)
URL Name000026908
Article Number000146076
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: UNIX
Question/Problem Description
What to do when you want to find an Out of Memory error (8419) on the AppServer
Steps to Reproduce
Clarifying Information
Error MessageUnhandled exception caught in S-xxxx. (8419)
Defect Number
Enhancement Number
Cause
Resolution
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.
Workaround
Notes
Research needed on adding this -XX:+HeapDumpOnOutOfMemoryError specifically to the ubroker.properties for the AppServer in question to create a Java memory dump,
as opposed to the AdminServer.
Keyword Phrase
Last Modified Date3/15/2017 4:38 PM

Powered by