Created
August 9, 2016 16:20
-
-
Save aindong/450324abec046d5698a64d022c94c1a9 to your computer and use it in GitHub Desktop.
Fix Composer Out Of Memory Error by adding swap memory to your aws micro instance
This file contains hidden or 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
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 | |
/sbin/mkswap /var/swap.1 | |
/sbin/swapon /var/swap.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment