Last active
May 9, 2022 05:02
-
-
Save mpujari/74481e1ada0cea4366a72098f90aa543 to your computer and use it in GitHub Desktop.
swap increase in Ubuntu
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
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