简体   繁体   English

从Windows内存转储创建Java堆转储

[英]Create a java heap dump from a windows memory dump

I have a windows memory dump (DMP) file of a JVM process. 我有一个JVM进程的Windows内存转储(DMP)文件。

Is there any way I can use Java tooling to do a heap analysis of this? 有什么方法可以使用Java工具对此进行堆分析? The SDK tools (jhat etc.) don't seem to help - they all seem to expect a Java heap dump. SDK工具(jhat等)似乎无济于事-它们似乎都期望Java堆转储。

(I've plenty of Windbg experience, but I am a complete ignoramus when it comes to Java debugging) (我有很多的Windbg经验,但是在Java调试方面我是一个完全不了解的人)

This similar question: Dump file analysis of Java process? 这个类似的问题: 转储Java过程的文件分析? has no answer on this point. 在这一点上没有答案。

看到我的另一个答案,涵盖了这一点,如何从Windows minidump获取Java信息

If i understood your question properly then i would suggest you to use jconsole you can find under jdk. 如果我正确理解了您的问题,那么我建议您使用jconsole,您可以在jdk下找到它。

You can find API here 您可以在这里找到API

http://docs.oracle.com/javase/6/docs/technotes/tools/share/jconsole.html http://docs.oracle.com/javase/6/docs/technotes/tools/share/jconsole.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM