Skip to content

Instantly share code, notes, and snippets.

@miklblitz
Created February 3, 2020 21:51
Show Gist options
  • Save miklblitz/502beb446a84c418f5f983119bc2155d to your computer and use it in GitHub Desktop.
Save miklblitz/502beb446a84c418f5f983119bc2155d to your computer and use it in GitHub Desktop.
swapoff -a
sudo fallocate -l 15G /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
swapon -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment