Recommendations for a heap analysis tool for Java?

2018-12-31 01:03发布

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.

4条回答
泛滥B
2楼-- · 2018-12-31 01:19

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.

Cons: Of course... it's not free :(

查看更多
只若初见
3楼-- · 2018-12-31 01:23

Eclipse Memory analyzer http://www.eclipse.org/mat/

查看更多
呛了眼睛熬了心
4楼-- · 2018-12-31 01:28

Java VisualVM, jvisualvm, included with the JDK. A pathologic Swing program is examined here.

查看更多
ら面具成の殇う
5楼-- · 2018-12-31 01:28

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
查看更多
登录 后发表回答