Skip to content

Instantly share code, notes, and snippets.

Lorenzo Campanis lcampanis

Block or report user

Report or block lcampanis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lcampanis
lcampanis / add-swap-memory.sh
Created Jun 10, 2017
Add More SWAP Memory to avoid "Memory Allocation Error"
View add-swap-memory.sh
# Confirm you have no swap
sudo swapon -s
# Allocate 4GB (or more if you wish) in /swapfile
sudo fallocate -l 4G /swapfile
# Make it secure
sudo chmod 600 /swapfile
ls -lh /swapfile
You can’t perform that action at this time.