Interesting thing today, I noticed my computer going a bit crazy, and looked at a background htop, found my system running at 58gb of ram usage, which means, it's about to start OOM'ing. I just upgraded from 32 to 64gb, on my laptop, and this is the first uptime since I put in the new ram.
Trying to determine who's using all that from htop is hard, outside of killing stuff, so I have some scripts I've used for years to kill all the memory hogs individually. Here's where I started.
I had Chromium open, limited, I moved to firefox, so only a few tabs. Killing that gave me back like less than a gig back. Good, because it's the reason I moved to firefox.
Next I killed firefox. It freed up some 35gb of ram.
Restarting Firefox with all 4 profiles, total of 8 windows, and 59 tabs, it comes back up at 28-29gb of ram.
There's a Windoze 10vm still open with 8gb of memory (visio, project), a ton of libreoffice docs, zoom, slack, teams, and text editors for the rest of that 23gb of space in use. This is pretty normal for me.
I sort of laugh when I hear systems using "only* 8gb or 16gb of ram, but still makes me wonder why linux is such a memory hog and how windoze/mac seem to make this work.
I hear so often "my computer is slow" or "I have to reboot all the time", makes me wonder just if some pervasive resource perversion by the browser vendors. How do other systems *not* use this sort of memory consumption? Seems when I open the floodgate with more ram, it just uses more.
-mb