-XX:[+|-]HeapDumpOnOutOfMemoryError
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:[+|-]HeapDumpOnOutOfMemoryError
Setting | Effect | Default |
---|---|---|
-XX:+HeapDumpOnOutOfMemoryError |
Enable | yes |
-XX:-HeapDumpOnOutOfMemoryError |
Disable |