[英]in java eclipse Memory Analyzer: Acquire Heap Dump Dialog shows no PID to acquire
I downloaded the Memory Analyzer from Eclipse marketplace, restarted it, launched my application and clicked on "Acquire Heap Dump Dialog".我从 Eclipse 市场下载了 Memory 分析器,重新启动它,启动我的应用程序并单击“获取堆转储对话框”。
But the list of process remains empty in the Acquire Heap Dump Dialog window even after refreshing, choosing a heap dump provider in Configure or relaunching the app.但是,即使在刷新、在配置中选择堆转储提供程序或重新启动应用程序之后,获取堆转储对话框 window 中的进程列表仍然为空。
Why it does not show any PID to acquire??为什么它没有显示任何要获取的PID?
Perhaps you don't have a JDK installed.也许您没有安装 JDK。 A JRE doesn't have jps or jmap. JRE 没有 jps 或 jmap。 If MAT is correctly configured to point to a JDK you should at least see a jps instance in the list of processes.如果 MAT 正确配置为指向 JDK,您至少应该在进程列表中看到一个 jps 实例。
Have a look at the error log (Window > Error Log) to see if there were problems.查看错误日志(窗口 > 错误日志)以查看是否有问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.