How to increase swap file? Current size is about 67 Mb and it remains static with full ram populated.
So, that was not a problem at all!
One can increase swapfile as in any other linux…
# the swap is located in /var
sudo swapoff /var/swapfile
sudo rm /var/swapfile
# for laptop with 4G RAM
sudo fallocate -l 4G /var/swapfile
sudo mkswap /var/swapfile
# change permitions for better security (optional). Terminal promt:
sudo chmod 0600 /var/swapfile
sudo swapon /var/swapfile
Some things are easier as they seems))
5 Likes