This is from a fresh boot of the system, except sshd I have not started anything else. ram consumption used to be just 126-200 mb now it has jumped so significantly that I am concerned I might have unnecessarily bloated my system:
I intend to use the system as a local server with an optional fully featured WM(Hyprland which is installed, but this screenshot was taken before it was loaded) for occasional use.
Ram conservation is a top priority and I would like to know if such a big jump in usage is normal or are there is something wrong with my system config
Why do you care so much about memory usage?
Unused RAM is wasted RAM.
It’s apparently jumped by almost a third of all of their available RAM. That’s pretty significant.
I meant like in general…
I do agree it’s worth investigating if it happens again. My best guess so far would be some kind of data written to a tmpfs. That’d explain it not being associated with a particular process, yet counting towards actual used RAM.
It’s allocated memory in the cache. It’s not used, it’s earmarked for first usage.
This is standard memory management.
I’m pretty sure only the yellow bar on the right of that indicator is cache. Green is actually being used by processes.
You can also drop cache for debugging by running something like
echo 3 | sudo tee /proc/sys/vm/drop-caches
But remember that the kernel knows best — this RAM will automatically be freed up when needed and you should never run this except for debugging (or maybe benchmarking).
If you can live without Networkmanager, I’d disable it and move your network setup to a static ip. Networkmanager can hog resources.
When you want to turn it on, instead unplug it and go start a farm. Problem solved, requires zero ram
Just download more RAM lol
We joke but zram swap works wonders on low resource systems sometimes
free -m
andslabtop
output.I don’t know when you had a clean boot using only 200MB, but it wasn’t in the past few years with what you’re running there.
Anyway, with half your RAM still available, things are more than fine. Make sure you have swap enabled, and you won’t get OOMKill situations that tear things down.
total used free shared buff/cache available
Mem: 3354 350 3032 1 171 3004
Swap: 8191 0 8191
on another reboot the memory dropped back down?It’s just allocated in buff/cache. Only 350MB hard commit. You’re fine.