How much memory does my program use? It is a frequent question on Stackoverflow. Peeps usually try to use top, atop, ps...These tools give mixed, confusing info. Instead read my blog post where I show modern Linux memory tools(cgroups, page-types, procfs): https://biriukov.dev/docs/page-cache/7-how-much-memory-my-program-uses-or-the-tale-of-working-set-size/
π¦π: https://twitter.com/brk0v/status/1607871538522656768
Unique set size and working set size
How much memory my program uses or the tale of working set size # Currently, in the world of containers, auto-scaling, and on-demand clouds, itβs vital to understand the resource needs of services both in norman regular situations and under pressure near the software limits. But every time someone touches on the topic of memory usage, it becomes almost immediately unclear what and how to measure. RAM is a valuable and often expensive type of hardware.