294
firefox rule (slrpnk.net)
submitted 8 hours ago by blibla@slrpnk.net to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] Badabinski@kbin.earth 4 points 6 hours ago

The issue is that browsers don't release much memory back to the system when it's needed. I wish they'd work more like the Linux kernel's VFS caching later, but they don't (and might not be able to. For example, I do don't think the Linux kernel has good APIs for such a use case).

[-] zea_64@lemmy.blahaj.zone 1 points 1 hour ago

You can write limits to and then poll files in /proc/pressure/ to be notified of resource pressure. Systemd will also set an environment variable for similar files for your cgroup.

this post was submitted on 26 Nov 2024
294 points (96.5% liked)

196

16582 readers
1825 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