We are getting Heap dumps with the error "java/lang/OutOfMemoryError" "native memory exhausted" in "Open J9" JVM. Can somebody suggest how to disable these Heap Dumps

Tried -XX:-HeapDumpOnOutOfMemory -Xms4096m -Xmx10240m. Need to know how to disable these dumps

1

There are 1 best solutions below

0
On

Using -Xdump:heap:none should disable all heap dumps. If you want heap dumps on other events, you can add more -Xdump:heap:... options after that. See more details at https://www.eclipse.org/openj9/docs/xdump/.