Swap or not?

Heh, sorry for digging up an old thread, but wanted to share my experience. I took the above advice and my system was very unstable, even with 32 gb of memory. Granted I’m not in the “typical use” category; I run over two dozen containers for development.

The problem manifested in my system massively bogging down and stuttering (choppy music playback, mouse cursor jumping around, etc). After about 20s, apps would terminate and everything would go back to normal.

It took me a while to put two and two together and that things were being OOM killed, and after adding swap (via a file), everything runs fine (and I can actually see the swap being used via top).

So for me, lesson learned, swap is easy, disk is cheap… just do it… :slight_smile: