Skip to content

Instantly share code, notes, and snippets.

@mpujari
Last active May 9, 2022 05:02
Show Gist options
  • Save mpujari/74481e1ada0cea4366a72098f90aa543 to your computer and use it in GitHub Desktop.
Save mpujari/74481e1ada0cea4366a72098f90aa543 to your computer and use it in GitHub Desktop.
swap increase in Ubuntu
sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1G count=32
sudo mkswap /swapfile
sudo swapon /swapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment