programmically分析从命令行HPROF内存转储文件 [英] analyse a HPROF memory dump file from command line programmically

查看:188
本文介绍了programmically分析从命令行HPROF内存转储文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的调查与分析使用Eclipse的内存分析器(MAT)一个HPROF文件。 支配树,报告和OQL界面看起来真的很有用。但是,这一切都必须手动从MAT软件来完成。

I was investigation with analyzing a HPROF file using Eclipse's Memory Analyser (MAT). The dominator tree, reports and the OQL interface look really useful. But all this has to be done manually from the MAT software.

有一个命令行接口,这样我就可以programmically解析HPROF并自动生成自定义报告。

Is there a commandline interface so I can programmically parse the HPROF and automatically generate custom reports.

这将是有益的整合这是一条测试的基础设施做了自动内存分析。

This would be useful to integrate this a test infrastructure to do a automatic memory analysis.

顺便说一句,堆大小是会10-60MB之间。

Btw, the heapsize is will be between 10-60MB.

推荐答案

ParseHeapDump.sh 做了你要寻找的。至于后续问题,我不知道是什么格式的索引文件都存储在

ParseHeapDump.sh does what you're looking for. As for the follow up question I'm not sure what format the index files are stored in.

这篇关于programmically分析从命令行HPROF内存转储文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆