this post was submitted on 09 Nov 2026
45 points (89.5% liked)

Linux

19907 readers
219 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS
 

This is bullshit. I wanted to play Terraria last night but I looked at my RAM usage and it was sitting uncomfortably high at 13 GB (of my 15). So, I close Terraria, and it drops about 2 GB. I close Firefox, Thunderbird, and Zed, and that drops about 2.5 GB. Then I close basically everything and it's still super high! Each time this happens, I have to restart my computer in order to get the RAM usage lower.

Whenever I look this up it's usually two camps:

  • KDE is just bloated.
  • Unused RAM is wasted RAM.

To address both of these:

I disabled a few things in KDE like file indexing (which was my home directory). Cool, so that saved like 100 MB. KDE is supposed to idle at around 3GB anyways, so what now?

The "unused RAM" belief is like a folktale at this point. It's not true anymore, and buffered/cache memory is shown separately. Plus, I can drop those caches whenever I want... Which I did. File inode cache only really became a problem for me when I was doing Minecraft Datapack development and I was creating hundreds of files on a regular basis as part of hot reload. Then I'd have to drop the entire cache because it wasn't being free'd...

However, the RAM I'm complaining about is actually not that, because it steps on my available RAM meter. Having a game freeze up because I was out of memory is a pain in the ass.

I even tried installing Zram, which only made matters worse since the active memory allocations seemed to be robbing the CPU of time it would be running game code, just so it could compress file pages. (My system has also just had major lag problems with swap, in general, during high memory pressure, which I should probably report as a bug). My swappiness was probably way too high, but regardless I didn't see major improvements from that and it only seemed like a bandaid to the real problem. Also, why should I need to use swap when I have 16 GB of RAM and only a few programs open at a time?

This whole thing is pretty annoying. Whenever I have like 11 hours of uptime my memory is unusually high. I also can't seem to track it down to any particular application...

System: OpenSUSE Tumbleweed

you are viewing a single comment's thread
view the rest of the comments
[–] RickyRigatoni@piefed.zip 6 points 10 hours ago (4 children)

"Unused ram is wasted ram" is the worst argument I ever heard because that ram is so I can run MORE THAN ONE PROGRAM instead of some SHITASS WEB BROWSER taking all of it.

If I wanted to go back to the days before multitasking OSes when all ram was taken up by one program cuz you could only run one I'd install FreeDOS. Sick of this shit.

[–] castironfan@lemmy.world 19 points 10 hours ago (1 children)

That saying is because “unused RAM” is RAM that is not being used for buffers or cache.

That RAM is quickly freed for applications when it’s requested.

[–] RickyRigatoni@piefed.zip -1 points 10 hours ago (1 children)

You're gonna have to point me in a direction that explains this concept to me. I haven't picked up an A+ certification book since 2012.

[–] castironfan@lemmy.world 9 points 9 hours ago

Someone posted this earlier and it’s a good explanation

https://www.linuxatemyram.com/

Here is an Ug level explanation if you want something shorter:

Disk slow, memory fast (even compared to an SSD)

If memory fast, why no use memory

Some things load from disk often but slow to wait. Load from disk in advance and keep in memory so fast. Now use memory better.

If not enough memory we let go of other thing to run program.

How work? Magic.

load more comments (2 replies)