How to analyze Heap Dumps
I am successful in generating Heap Dumps of my application ma开发者_JAVA百科chine but I do not know how to analyze it. Can someone tell me how to?
Use jhat utility for Java on Sun solaris.
A good example is here https://blogs.oracle.com/alanb/entry/heap_dumps_are_back_with
You can try VisialVM, for some reason my heap dump wasn't loading in jhat but was in visualVM. It give you a graph of the class that are taking much of the heap. here where to get it: http://visualvm.java.net/download.html
精彩评论