Ubuntu - Disable swap

If you have a computer with a lot of memory and you know you are never going to ever exceed it, then it may be a good idea to turn off your swap with the following command:

sudo swapoff -a

If you ever run out of memory now processes will crash!

No comments:

Post a Comment