Skip to content

Instantly share code, notes, and snippets.

@karaketir16
Created June 12, 2023 16:00
Show Gist options
  • Save karaketir16/aa09d988943871d75024cd9681b5db54 to your computer and use it in GitHub Desktop.
Save karaketir16/aa09d988943871d75024cd9681b5db54 to your computer and use it in GitHub Desktop.
sudo swapoff -a ; sudo fallocate -l 15G /swapfile ; sudo chmod 600 /swapfile ; sudo mkswap /swapfile ; sudo swapon /swapfile ; sudo swapon --show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment