|
|
|
|
|
by bno1
1194 days ago
|
|
Well yes, because on Linux you use mmap to reserve virtual memory. I wouldn't say that tooling is not aware of all that. For example, top and htop display virtual memory and resident memory and shared memory. You need to look at resident memory if you want to know physical memory usage. |
|
Best you can do is do dumps, verify, enable NMT, verify.
It gives me no value to know that my heap is 60m, but my RSS is 600mb while reserved is 40GB. Need more details and those are not always provided i.e. “Unknown” category in NMT details.
Best is that top, pmap and nmt are all showing completely different values for resident size :> and its not a unit issue.