← Back to context

Comment by Avamander

15 hours ago

It depends on the memory conditions you end up in an OOM with. In some cases Linux starts to just trash swap and never kills anything because it thinks it can free a few pages at a sufficient tempo. This is where turning off swap helps by just forcing the OOM killer to act sooner. On other devices it can make things worse. In the end it's still all terribly handled by Linux.