JVM process resident set size "equals" max heap size, not current heap size
- by Volune
After a few reading about jvm memory (here, here, here, others I forgot...), I am expecting the resident set size of my java process to be roughly equal to the current heap space capacity. That's not what the numbers are saying, it seems to be roughly equal to the max heap space capacity:
Resident set size:
# echo 0 $(cat /proc/1/smaps | grep…