this post was submitted on 12 Mar 2026
1729 points (99.1% liked)

Programmer Humor

30362 readers
1737 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ThePantser@sh.itjust.works 28 points 2 days ago (5 children)

Would be nice if I could force programs to use more ram though. I actually have 100GB of DDR4 my desktop. I bought it over a year ago when DDR4 was unloved and cheap. But I have tried to force programs to not be offloading as much. Like Firefox, I hate that I have the ram but it's still unloading webpages in the background and won't use more than 6GB ever.

[–] qaeta@lemmy.ca 17 points 2 days ago

I actually have 100GB of DDR4

They've got RAM! Get'em!

[–] Samskara@sh.itjust.works 1 points 1 day ago

RAM disk is your friend.

[–] Jaysyn@lemmy.world 6 points 2 days ago (2 children)

Will disabling the swap file fix that?

[–] Vlyn@lemmy.zip 7 points 2 days ago (1 children)

Don't fully disable swap on Windows, it can break things :-/

[–] Jaysyn@lemmy.world 3 points 2 days ago (1 children)

I didn't know that, that used to not be the case.

[–] Vlyn@lemmy.zip 7 points 2 days ago

Maybe it has changed again, but in the past I gave it a try. When 16 GB was a lot. Then when 32 GB was a lot. I always thought "Not filling up the RAM anyway, might as well disable it!"

Yeah, no, Windows is not a fan. Like you get random "running out of memory" errors, even though with 16 GB I still had 3-4 GB free RAM available.

Some apps require the page file, same as crash dumps. So I just set it to a fixed value (like 32 GB min + max) on my 64 GB machine.

[–] felsiq@piefed.zip 5 points 2 days ago

If not, just mount your swap file in RAM lmao

[–] iglou@programming.dev 4 points 2 days ago

Programs that care about memory optimization will typically adapt to your setup, up to a point. More ram isnt going to make a program run any better if it has no use for it

[–] floquant@lemmy.dbzer0.com 3 points 2 days ago

Set swappiness to 5 or something similar, or disable swap altogether unless you're regularly getting close to max usage