As I have a computer with enough memory I see no need or value in a SWAP partition. In fact as I am using a SSD for the system drive a SWAP is a concern to the reliability of his drive. The following is a list of method to check and disable SWAP function.
sudo swapoff -a“
turns of an existing SWAP partition. (sudo swapon -a
turns it back on)sudo vim /etc/fstab
. (Another open is to instead use the swapoff -a command in a boot cron job. This allows the swapon -a option to be later used.)free -hw
shows the current memory status.See: