Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Heap size in memory analyzer

we have set the below JVM parameters for our PI box.

MaxHeapSize=2048

-Xms2048m

-XX:NewSize=320m

-XX:MaxNewSize=320m

-XX:PermSize=512m

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 ?

thanks

kumar

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question