You absolutely need swap on a low RAM system. It’s the only way the system will actually be usable. You’ll hit OOMs (out of memory errors) that take down the whole GUI if you turn off swap on a system with only 2GB RAM. You can only really turn off swap if you have a very large amount of RAM, and even then, it’s safer to keep it enabled and set swappiness to 0 instead.
can you not disable swap? force it to stick to physical RAM.
You absolutely need swap on a low RAM system. It’s the only way the system will actually be usable. You’ll hit OOMs (out of memory errors) that take down the whole GUI if you turn off swap on a system with only 2GB RAM. You can only really turn off swap if you have a very large amount of RAM, and even then, it’s safer to keep it enabled and set swappiness to 0 instead.