I'm trying to analyze the memory usage of my Java app. In VisualVM I see the Heap size as ~733M:
But when I exported the heap dump to Eclipse MAT, it shows as 36.6MB:
Why is that?
I'm trying to analyze the memory usage of my Java app. In VisualVM I see the Heap size as ~733M:
But when I exported the heap dump to Eclipse MAT, it shows as 36.6MB:
Why is that?
duplicate: Why is my Java heap dump size much smaller than used memory?
TLDR; heap dump triggered garbage collection and dump shows the "Used heap"