<< 使用ffmpeg视频格式转换、视频截图、视频采集、屏幕录制 | 首页 | Java性能调优工具BEA JRockit Mission Control - kakatian1 - 51CTO技术博客 >>

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>

阅读全文……




发表评论 发送引用通报