$ sudo dphys-swapfile swapoff $ sudo vim /etc/dphys-swapfile # Edit swap config $ sudo dphys-swapfile setup $ sudo dphys-swapfile swapon # Finaly