Proper way to compute resident memory which uses ZGC

Sundara Mohan M m.sundar85 at gmail.com
Tue Feb 8 00:12:34 UTC 2022


Hi,
   I am seeing the top command is reporting ~3x the original memory heap
memory for a java process which uses ZGC. Know that this is because of the
colored pointer concept used in ZGC.

What is the proper way to get the real resident size of this process?

Thanks
Sundar


More information about the zgc-dev mailing list