enable HeapDumpOnOutOfMemoryError in runtime

Posted by Schildmeijer on Stack Overflow See other posts from Stack Overflow or by Schildmeijer
Published on 2009-09-07T13:42:20Z Indexed on 2010/03/28 17:13 UTC
Read the original article Hit count: 233

Filed under:
|

according to http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/clopts.html it should be possible to enable -XX:+HeapDumpOnOutOfMemoryError using JConsole in runtime. How?

I assume its somewhere under MBeans tab and the com.sun.management -> HotSpotDiagnostic -> Operations -> setVMOptions ?

© Stack Overflow or respective owner

Related posts about java

Related posts about jconsole