1

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?

Santosh
  • 17,667
  • 4
  • 54
  • 79
  • If you have a program which runs out of memory on JRockit, its likely to run out of memory for the same reason on the Sun/Oracle/OpenJDK JVM. i.e. you should be able to reproduce the problem there. – Peter Lawrey Mar 16 '12 at 15:22

1 Answers1

4

-XX:+|-HeapDiagnosticsOnOutOfMemoryError

See here for full listing

Steve Townsend
  • 53,498
  • 9
  • 91
  • 140