Eclipse Memory Analyzer:如何通过 ParseHeapDump.sh 从远程 MAT 导入分析结果?
我在远程服务器中有一个很大的堆转储文件。我远程运行 MAT 的 ParseHeapDump.sh 文件。如何将这些分析文件 (dump.*.index) 导入到本地 MAT?我不想下载巨大的堆转储文件。
I have a large heap dump file in the remote server. And I run MAT's ParseHeapDump.sh file remotely. How can I import those analyzed files (dump.*.index) to my local MAT? I don't want to download the huge heap dump file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来 dump.*.index 只是索引文件,我将根据需要下载整个堆转储文件
It seems like dump.*.index is just index file and I will whatever need to download the entire heap dump file
如果您只需要分析结果,则只需复制包含这些结果的 zip 文件。例如,如果您使用 MAT 生成“泄漏嫌疑人”报告,结果将以 HTML 形式存储在名称以 “_Leak_Suspects.zip”结尾的 zip 文件中。该文件比堆转储小得多。您可以将此文件复制到本地计算机并分析报告。这是一篇解释这一点的文章 - https: //javaforu.blogspot.com/2013/11/analyzing-large-java-heap-dumps-when.html
If you want just the analysis results, you need to copy just the zip file containing those results. For example, if you used the MAT to generate "Leak suspects" report, the results would be stored as HTMLs in a zip file whose name ends with "_Leak_Suspects.zip". This file is much smaller than the heap dump. You could copy this file to you local machine and analyze the report. Here is an article that explain this - https://javaforu.blogspot.com/2013/11/analyzing-large-java-heap-dumps-when.html