CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-XX:[+|-]HeapDumpOnOutOfMemory

This HotSpot option is recognized by OpenJ9. You can use the option to to disable Java™, heap, snap, and system dumps on out-of-memory conditions, which are enabled by default.

Syntax

    -XX:[+|-]HeapDumpOnOutOfMemory
Setting Effect Default
-XX:+HeapDumpOnOutOfMemory Enable yes
-XX:-HeapDumpOnOutOfMemory Disable