Answered by : awful-antelope-moa1l00r34tf
export COMPOSER_MEMORY_LIMIT=-1
Source : | Last Update : Thu, 05 Nov 20
Answered by : muhammad-ishaq
//insted of
composer require illuminate/support
//Run following command
COMPOSER_MEMORY_LIMIT=-1 composer require illuminate/support
Source : https://laracasts.com/discuss/channels/laravel/allowed-memory-size-of-1610612736-bytes-exhausted | Last Update : Thu, 28 Apr 22
Answered by : fragile-flatworm-un15vebkyb34
set COMPOSER_MEMORY_LIMIT=-1
Source : https://stackoverflow.com/questions/53877561/fatal-error-allowed-memory-size-of-1610612736-bytes-exhausted-but-already-alloc | Last Update : Tue, 11 May 21
Answered by : arrogant-antelope-g78m3fnuc3su
Fatal error: Allowed memory size of 1610612736 bytes exhausted
export COMPOSER_MEMORY_LIMIT=-1
and restart composer update
Source : | Last Update : Wed, 13 Jan 21
Answered by : fragile-flatworm-un15vebkyb34
php -d memory_limit=-1 /usr/local/bin/composer install
Source : https://stackoverflow.com/questions/53877561/fatal-error-allowed-memory-size-of-1610612736-bytes-exhausted-but-already-alloc | Last Update : Tue, 11 May 21
Answered by : daljeet-singh
if you just step the laravel project then it is related to
file permission change the permission of the folder
chmod -R 777 path_of_project
Happy Coding :)
Source : | Last Update : Tue, 12 Dec 23
Answered by : clever-copperhead-cou24cfarj5g
php -d memory_limit=-1 composer.phar require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle
Source : https://stackoverflow.com/questions/49212475/composer-require-runs-out-of-memory-php-fatal-error-allowed-memory-size-of-161 | Last Update : Mon, 15 Feb 21
Answered by : hassan-joseph
php --ini
nano /etc/php5/cli/php.ini (it could be different for you)
Search for memory_limit by (ctrl + w)
make memory_limit to -1 or 2G (depending on what you can increase to)
save by (ctrl + x) then enter
Source : | Last Update : Tue, 10 Aug 21
Answered by : lokesh-ramchandani
1. Firstly i find which php.ini is working because i was using multiple xampp, so using : php --ini
2. after that in that file i updated the memory_limit = -1
Source : | Last Update : Tue, 14 Jul 20
Answered by : witty-wasp-xyy8xhx4cf5d
;memory_limit=512M
Source : https://stackoverflow.com/questions/53877561/fatal-error-allowed-memory-size-of-1610612736-bytes-exhausted-but-already-alloc | Last Update : Mon, 12 Oct 20