Re:Improving Firefox stability with this one weird trick
by heavyset_go on Tuesday November 22, 2022 @06:44PM
(#33713167)
Does this OOM killer direction respect cgroup memory limits? Back when I was using Firefox on a low memory system, I ran it in a limited cgroup, but features like `browser.tabs.unloadOnLowMemory` wouldn't unload tabs on low cgroup memory, but only on low total system memory.
[ Parent
| on HN ]
Re:Improving Firefox stability with this one weird trick
by gsvelto on Wednesday November 23, 2022 @05:02AM
(#33717216)
Yes it does, we've disabled tab unloading on Linux because low-memory detection just didn't work. We will re-enabled it sometimes down the line but only to avoid swap, not crashes. The OOM killer does already a good job with this change and we feel no need to do anything further (besides optimizing memory usage, but that's system-agnostic).