I'm a bit confused by the memory stats that htop is reporting on one of our servers. On the top bars, it's showing system memory as:
Mem: 456 / 7950MB
So, looks very low usage.
However, my main process is showing it's memory usage as:
VIRT RES SHR MEM%
13.3G 2388M 2239M 30%
Hmm, a lot higher.
Why are the system stats only showing 456MB used, when the process reports that it's using 2388MB?
Update Here's the output from free
:
total used free shared buffers cached
Mem: 8141292 5425364 2715928 0 103560 4839368
-/+ buffers/cache: 482436 7658856
Swap: 2097148 0 2097148