Does it actually work?
Does it actually work?
Posted Apr 8, 2025 13:59 UTC (Tue) by jhe (subscriber, #164815)In reply to: Does it actually work? by kleptog
Parent article: Three ways to rework the swap subsystem
Disabling swap will force the thrashing onto the page cache and will not prevent the problem from occuring.
You could write a program that hooks into the pressure stall information and kills a pre-defined process (Firefox, probably) when memory pressure goes above 30 or 50. You are right that the kernel OOM killer should do that on its own.
I think the underlying cause is that some applications (Firefox, Electron) are too memory hungry to run on 4 or 8 GB.
