July 30, 2015

find heap size in hprof file

find heap size in hprof file

find actual heap size from hprof file

How to find the total heap memory consumed by all the instances of classes under a specific package.

Example, would like to know how much heap memory was consumed by `org.apache.log4j.*` This should certainly include the String, HashMap, etc. used by log4j

Tried Eclipse Memory Analyzer MAT but couldn't find the total heap memory used for particular package.

1 comment :

  1. You can change size of files to use tools. Converter is available to make Heap Size in hprof file. There are many kind pdf, Zip file etc. Future Cybersecurity Predictions Files are important to safe work for long time and when you forget then find to search.

    ReplyDelete