Using HeapDumpOnOutOfMemoryError parameter for heap dump for JBoss
Posted
by EdC
on Stack Overflow
See other posts from Stack Overflow
or by EdC
Published on 2009-02-12T19:58:42Z
Indexed on
2010/06/10
3:12 UTC
Read the original article
Hit count: 264
I was told I can add the -XX:+HeapDumpOnOutOfMemoryError parameter to my JVM start up options to my JBoss start up script to get a heap dump when we get an out of memory error in our application. I was wondering where this data gets dumped? Is it just to the console, or to some log file? If it's just to the console, what if I'm not logged into the unix server through the console?
Thanks
© Stack Overflow or respective owner