Why does Linux still swap when I have 768 GB of RAM, and at least 50% of it is still free?

The proper way to disable swap is removing/commenting out the partition’s entry in /etc/fstab. Just setting vm.swappiness=0 always caused system crashes on my machines.

1 Like