sudo fallocate -l 4G /swapfile
- Creates a 4GB swapfilesudo chmod 600 /swapfile
- only root accesssudo mkswap /swapfile
- Mark as a swap spacesudo swapon /swapfile
- Enables itecho "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstab
- Persist it over reboots
Last active
April 24, 2020 07:30
-
-
Save felipekm/7a872b3c6c4adc435f1c300410b3799b to your computer and use it in GitHub Desktop.
Phantom installation failed { Error: spawn ENOMEM }
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks.