Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add more swap space on Ubuntu 17
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
You can’t perform that action at this time.