4 ms·
It would be nice if Firefox played nicely with cgroup memory limits. Right now, Firefox will freeze, crash or freeze while swapping heavily when it starts alloc
by heavyset_go 6y ago
It would be nice if Firefox played nicely with cgroup memory limits. Right now, Firefox will freeze, crash or freeze while swapping heavily when it starts allocating near or at the limit. Same thing with Firejail.
- nix0n 6y agoI've also seen Firefox freezing and swapping heavily when real physical RAM is depleted. I was able to reduce RAM usage by reducing the number of content processes, so that might be helpful to you also.
- heavyset_go 6y ago> I was able to reduce RAM usage by reducing the number of content processes, so that might be helpful to you also. Yeah, I dropped dom.ipc.processCount by half a while ago, but I think Fission[1] overrides that setting. [1] https://wiki.mozilla.org/Project_Fission https://wiki.mozilla.org/Project_Fission
- gsvelto 6y agoThat's a really tough problem to solve on Linux. We're actively working on it in order to make Firefox better behaved when memory gets tight but it's not easy. You can follow the work in these two bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1532955 https://bugzilla.mozilla.org/show_bug.cgi?id=1532955 https://bugzilla.mozilla.org/show_bug.cgi?id=1587762 https://bugzilla.mozilla.org/show_bug.cgi?id=1587762
- heavyset_go 6y agoThanks for the links