| The Following 3 Users Say Thank You to aQUICK1 For This Useful Post: | ||
[root@Sailfish nemo]# free -m
total used free shared buffers cached
Mem: 2835 2059 776 0 52 682
-/+ buffers/cache: 1325 1510
Swap: 0 0 0
# Create the swapfile fallocate -l 2G /home/swapfile # Set permissions chmod 600 /home/swapfile # Prepare file as swap mkswap /home/swapfile # Enable swap swapon /home/swapfile # Now, you can check that swap memory is available: free -m # Finally, add an entry to /etc/fstab so the swap gets enabled on boot echo "/home/swapfile none swap defaults 0 0" >> /etc/fstab
swapoff /home/swapfile