xxxxxxxxxx
Fatal error: Allowed memory size of 1610612736 bytes exhausted
export COMPOSER_MEMORY_LIMIT=-1
and restart composer update
xxxxxxxxxx
<?php
ini_set('memory_limit', '1024M'); // or you could use 1G
?>
xxxxxxxxxx
//insted of
composer require illuminate/support
//Run following command
COMPOSER_MEMORY_LIMIT=-1 composer require illuminate/support
xxxxxxxxxx
//Allowed memory size of 134217728 bytes exhausted (tried to allocate 65015808 bytes)
<?php
ini_set('memory_limit', '1024M');
?>
Or
set in php.ini
memory_limit = -1
xxxxxxxxxx
set COMPOSER_MEMORY_LIMIT=-1
xxxxxxxxxx
php -d memory_limit=-1 /usr/local/bin/composer install
xxxxxxxxxx
composer self-update
xxxxxxxxxx
php -d memory_limit=-1 composer.phar require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle
xxxxxxxxxx
In my case with Xampp with Windows 10
i just changed:
;memory_limit=512M
by commenting this configuration, in php.ini to:
memory_limit =-1