Memory leaks?



Summary:

In a discussion on Linux memory usage, Jonathan Toomim suggested that a memory usage issue he experienced on Linux, but not on Mac OS X, may be due to poor memory allocation causing fragmentation. He advised measuring memory usage correctly using tools like "showmemusage" on Linux, as it is easy to get misleading information from tools like top. The script "showmemusage" measures memory usage of a given PID by adding up the Pss values from /proc/[pid]/smaps and outputting the result in KB.


Updated on: 2023-06-11T00:10:01.152888+00:00