-XX:[+|-]ExitOnOutOfMemoryError
This HotSpot option is recognized by Eclipse OpenJ9™. You can use the option to trigger a shut down on VM out-of-memory conditions.
-XX:-HeapDumpOnOutOfMemoryError
.
Syntax
-XX:[+|-]ExitOnOutOfMemoryError
Setting | Effect | Default |
---|---|---|
-XX:+ExitOnOutOfMemoryError |
Enable | |
-XX:-ExitOnOutOfMemoryError |
Disable | yes |