this post was submitted on 26 Nov 2024
502 points (97.7% liked)

196

16557 readers
1977 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Draconic_NEO@lemmy.dbzer0.com 7 points 6 hours ago* (last edited 5 hours ago) (1 children)

I think that's precisely why limiting RAM on apps like Chrome or Firefox is so necessary, these apps never release their RAM when they are supposed to, they hoard anything that isn't free and don't give back when it's needed, which is why in the reply to the top comment I shared a desktop entry to limit RAM on Firefox or whatever app you so choose.

[โ€“] AVincentInSpace@pawb.social 4 points 5 hours ago* (last edited 5 hours ago)

Oh, I totally agree. Being afraid to call out to the allocator because "hey, I might need that memory later" is kinda not great. To a certain extent I can see how if an application tends to thrash memory, making a kajillion syscalls might hurt performance, enough that on many machines the gains from doing a single big allocation on the system and then slicing it up into small allocations in-process might outweigh the downsides, but still...