JRockit heap dump? | Oracle Forums

Problem: an application I look at experiences an OOM in production not yet reproduced anywhere else. 
Is there any way to get a heap dump in JRockit when OOM occurs similar to -XX:+HeapDumpOnOutOfMemoryError option in Sun VM?
Is there a way to do it through command line?

Try -Djrockit.oomdiagnostics=true. It will print a lot of information about the current state of the heap to stderr when an OutOfMemoryError occurs.

-Djrockit.oomdiagnostics.filename=<path to file>

阅读全文……

你可能感兴趣的:(weblogic,AppServer)