How To Measure the Working Set Size on Linux
Brendan Gregg
JANUARY 17, 2018
It is used for capacity planning and scalability analysis. My tool does this using /proc/PID/clear_refs and the Referenced value from /proc/PID/smaps, which were added in 2007 by David Rientjes (thanks). Your app may have populated 100 Gbytes of main memory, but only uses 50 Mbytes each second to do its job. Consider these overheads.
Let's personalize your content