List your favorite heap analysis tools (e.g. jprofiler, jmap, ...). Let's keep it one tool per answer, with a short list of pros and cons for each tool.
列出您最喜欢的堆分析工具(例如jprofiler,jmap,...)。让我们为每个答案保留一个工具,并列出每个工具的优缺点。
4 个解决方案
#1
19
YourKit : http://www.yourkit.com/
YourKit:http://www.yourkit.com/
Pros:
优点:
- The interface is clean and it's fast
- 界面干净,速度快
- It opened a large 5-gig heap dump where jProfiler grined to a halt. And it only needed 1-2 gigs of JVM ram to do so.
- 它打开了一个大型的5-g堆转储,jProfiler停止了。而且它只需要1-2演出的JVM ram。
Cons: Of course... it's not free :(
缺点:当然......它不是免费的:(
#2
40
Eclipse Memory analyzer http://www.eclipse.org/mat/
Eclipse内存分析器http://www.eclipse.org/mat/
- Support for multiple JVMs
- 支持多个JVM
- Help with identifying sources for memory leaks (see http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6856)
- 帮助识别内存泄漏源(参见http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6856)
- Open source and actively developed by major vendors (SAP and IBM)
- 开源并由主要供应商(SAP和IBM)积极开发
- Part of Galileo release of Eclipse
- Galileo发布Eclipse的一部分
#3
#4
6
BHeapSampler http://dr-brenschede.de/bheapsampler/
BHeapSampler http://dr-brenschede.de/bheapsampler/
- generates a class-level heap-graph as a really intuitive display of the dominant memory structures
- 生成一个类级别的堆图,作为主导内存结构的直观显示
- can process really large heap dumps
- 可以处理非常大的堆转储
- command-line tool, usable on server side without transfering the dump to the developer's desk
- 命令行工具,可在服务器端使用,而无需将转储转移到开发人员的桌面
#1
19
YourKit : http://www.yourkit.com/
YourKit:http://www.yourkit.com/
Pros:
优点:
- The interface is clean and it's fast
- 界面干净,速度快
- It opened a large 5-gig heap dump where jProfiler grined to a halt. And it only needed 1-2 gigs of JVM ram to do so.
- 它打开了一个大型的5-g堆转储,jProfiler停止了。而且它只需要1-2演出的JVM ram。
Cons: Of course... it's not free :(
缺点:当然......它不是免费的:(
#2
40
Eclipse Memory analyzer http://www.eclipse.org/mat/
Eclipse内存分析器http://www.eclipse.org/mat/
- Support for multiple JVMs
- 支持多个JVM
- Help with identifying sources for memory leaks (see http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6856)
- 帮助识别内存泄漏源(参见http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6856)
- Open source and actively developed by major vendors (SAP and IBM)
- 开源并由主要供应商(SAP和IBM)积极开发
- Part of Galileo release of Eclipse
- Galileo发布Eclipse的一部分
#3
27
Java VisualVM, jvisualvm, included with the JDK. A pathologic Swing program is examined here.
Java VisualVM,jvisualvm,包含在JDK中。这里检查病理性Swing程序。
#4
6
BHeapSampler http://dr-brenschede.de/bheapsampler/
BHeapSampler http://dr-brenschede.de/bheapsampler/
- generates a class-level heap-graph as a really intuitive display of the dominant memory structures
- 生成一个类级别的堆图,作为主导内存结构的直观显示
- can process really large heap dumps
- 可以处理非常大的堆转储
- command-line tool, usable on server side without transfering the dump to the developer's desk
- 命令行工具,可在服务器端使用,而无需将转储转移到开发人员的桌面