如何使用现有的 Eclipse MAT 索引进行交互式分析
我正在尝试使用 Eclipse MAT(内存分析工具包)来分析一些相当大的堆转储(~2G)。不幸的是,我的笔记本电脑装有 32 位 Windows,并且 MAT 耗尽了堆空间 @ 1.4G 分配的堆。我成功地在大型无头 64 位机器上从命令行运行堆索引器。但是,我无法说服 MAT 从我的笔记本电脑上的目录导入这些索引文件,以便我可以交互地调查堆。我加载堆(及其旁边的索引文件)的所有尝试都导致 MAT 决定重新解析堆文件而不是使用现有索引。有想法吗?
I am attempting to use Eclipse MAT (Memory Analysis Toolkit) to analyze some rather large heap dumps (~2G). My laptop unfortunately has 32bit Windows, and MAT runs out of heap space @ 1.4G allocated heap. I was successful in running the heap indexer from the command line on a large, headless 64bit box. However, I am unable to convince MAT to import these index files from a directory on my laptop so that I may investigate the heap interactively. All my attempts at loading the heap (with the index files alongside it) have resulted in MAT deciding to re-parse the heap file instead of using the existing indexes. Ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要将该目录中存在的所有文件复制到您的笔记本电脑。我已经成功地做过很多次了。我使用在服务器上运行分析器
这允许我打开堆转储,然后打开存储的报告。
You need to copy all files which are present in that directory to your laptop. I've done this successfully many times. I run the analyser on the server using
This allows me to open the heap dump and then open the stored reports.
您只需将具有相同文件名前缀的所有文件复制到新位置即可。
真的就是这么简单。
You just need to copy all the files that have the same file name prefix to the new location.
It's really as simple as that.