Before executing the command, validate that the swap is less than the free space of the RAM memory. swapoff -a swapon -a
swapoff -a
swapon -a