Last active
March 15, 2022 04:34
-
-
Save doituikhovai/53bfb8741de57d0cf4d12bfed2c0ebd2 to your computer and use it in GitHub Desktop.
extend swap
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={number size: example: 8} | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
grep SwapTotal /proc/meminfo | |
// Exp: https://linuxize.com/post/how-to-add-swap-space-on-debian-10/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment