composer update limit memory code example
Example 1: composer memory limit
php -d memory_limit=512M /usr/local/bin/composer update
Example 2: composer update withou memory limit
php -d memory_limit=-1 path_to_composer.phar_that_threw_the_error update