Search code examples
javaout-of-memoryjrockit

JRockit setting for heap dump on OutOfMemory Error


I understand that there is a setting in Sun JVM for dumping the heap when OM occurs (-XX:+HeapDumpOnOutOfMemoryErro). Is there any similar setting for JRockit VM or the same setting will work?


Solution

  • -XX:+|-HeapDiagnosticsOnOutOfMemoryError

    See here for full listing