简体   繁体   中英

Why my dumped hprof file show total heap only 9.6MB while the actually heap size is 75MB

I got a hprof file from the user who encounter a OutOfMemory exception. but when open that file with Eclipse Memory Analyzer, it show that total memory only 9.6MB far from the actual heap size 75MB. Is possible that profile process only dump part of heap space?

MAT skips unreachable objects so doesnt report exact heap size.

Details will be useful for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM