Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo swapon --show
- sudo fallocate -l 1G /swapfile
- sudo chmod 600 /swapfile # sets the file to be owned by root
- sudo mkswap /swapfile # mkswap tool to allocate swap in the file
- sudo swapon /swapfile # activate the swap
- sudo nano /etc/fstab # open the file to make changes permanent
- sudo swapon --show # show if its working
- sudo free -h # show Memory and Swap
- sudo swapoff -v /swapfile
- sudo rm /swapfile # remove the swap file
- RAM No hibernation With Hibernation Maximum
- 1GB 1GB 2GB 2GB
- 2GB 1GB 3GB 4GB
- 3GB 2GB 5GB 6GB
- 4GB 2GB 6GB 8GB
- 5GB 2GB 7GB 10GB
- 6GB 2GB 8GB 12GB
- 8GB 3GB 11GB 16GB
- 12GB 3GB 15GB 24GB
- 16GB 4GB 20GB 32GB
- 24GB 5GB 29GB 48GB
- 32GB 6GB 38GB 64GB
- 64GB 8GB 72GB 128GB
- 128GB 11GB 139GB 256GB
- 256GB 16GB 272GB 512GB
- 512GB 23GB 535GB 1TB
- 1TB 32GB 1056GB 2TB
- 2TB 46GB 2094GB 4TB
- 4TB 64GB 4160GB 8TB
- 8TB 91GB 8283GB 16TB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement