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

147 views Asked by At

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?

1

There are 1 answers

0
Vipin On

MAT skips unreachable objects so doesnt report exact heap size.

Details will be useful for you.