Skip to content

-XX:[+|-]HeapDumpOnOutOfMemory

This HotSpot option is recognized by Eclipse 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