I am trying to update laravel repository using 'php composer.phar update' command. But I am getting this error -
- Removing symfony/translation (v2.4.8)
PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open():
fork failed - Cannot allocate memory' in phar:///var/www/fyc/composer.phar/vend
or/symfony/console/Symfony/Component/Console/Application.php:983
I came across links which told to disable 'xdebug' to solve this problem but its nowhere installed on my system. I am using Ubuntu 14.04, PHP 5.5.18, Zend 2.5.0. The links are -
https://github.com/composer/composer/issues/1898 (read last 15 days comments)
Update: I know that the error says that memory is less but I saw some threads which said that allocating even upto 7GB doesn't work & their system gets hung. So, I am looking for an alternative solution. My server is on AWS free tier eligible EC2 instance. Don't know how much memory it gives for RAM.