Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit


This HotSpot option is recognized by Eclipse OpenJ9™. You can use the option to trigger a shut down on VM out-of-memory conditions.

Note: Java™, heap, snap, and system dumps are enabled by default but can be disabled by including -XX:-HeapDumpOnOutOfMemoryError.


Setting Effect Default
-XX:+ExitOnOutOfMemoryError Enable
-XX:-ExitOnOutOfMemoryError Disable yes