Created
March 29, 2016 21:21
-
-
Save mberizzo/e3c566f25b0f38b0bde932f3b6014c68 to your computer and use it in GitHub Desktop.
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
ErrorException: proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 954 | |
It's because of a lack of memory. You need to set up a swap file so that composer can do it's thing: | |
sudo dd if=/dev/zero of=/swapfile bs=1024 count=512k | |
mkswap /swapfile | |
swapon /swapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment