Created
November 2, 2017 03:32
-
-
Save whistler/125a085557d97851a546b6d795132736 to your computer and use it in GitHub Desktop.
Add more swap space on Ubuntu 17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
count=12288 | |
sudo swapoff -a | |
sudo dd if=/dev/zero of=/swapfile bs=1M count=1024 | |
sudo mkswap /swapfile | |
sudo swapon /swapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment