Measure heap used by each object in Java [closed]
Can some suggest a good a free memory profiling tool which will show memory being used by each object in the heap separately. We are trying to profile our application and I used jconsole but its gives me 开发者_开发百科total memory usage only. I am using Eclipse and OC4J
Visual VM can do it for you..
https://visualvm.java.net/
Eclipse Memory Analyzer
Not free, but IMHO the best one: http://www.yourkit.com/
精彩评论