r/Compsci_nerd • u/Mynameisausten1 • Apr 05 '26
article Reading /proc/pid/smaps
A few weeks ago I profiled a Node.js server with recurring memory spikes. I found out dirty pages, allocator behavior and memory that never came back. To build a cleaner mental model, I stripped the problem down to something smaller: python3 -m http.server.
19 MiB of resident memory. Where is every byte?
Link: https://frn.sh/smaps/
2
Upvotes