Heap size in memory analyzer
we have set the below JVM parameters for our PI box.
But when I upload the Heap dump into memory analyzer it shows only 350.1MB. And also it shows the Biggest
objecs retained size as 91.1MB. Rest unused memory is 258.9MB. But I am afraid where all 2GB memory gone ??
why memory anlyzer is showing only 350.1 MB only ?
Krum Tsvetkov replied
The heap dump contains only information about the heap which is used. So if from the 2GB only 350Mb were used when the heap dump was triggered, then it is OK to have the heap dump about 350MB in size. And this is also what you are going to see as size in Memory Analyzer.
If however, the heap dump was 2Gb, and the heap used when the dump was triggered is 2Gb, but still the tool claims that there are only 350Mb, then I think there could be a problem either with the tool or with the generated dump.