title: Using HeapDumpOnOutOfMemoryError parameter for heap dump for JBoss
body: <p>I was told I can add the <code>-XX:+HeapDumpOnOutOfMemoryError</code> 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?</p>