Fatal error: Out of memory Update Lavaravel 6.0

Laraship QuestionsCategory: TechnicalFatal error: Out of memory Update Lavaravel 6.0
hola asked 4 years ago
Hi. I tried to update to version 6.0 but I have the following error when I execute the command: composer update " Fatal error: Out of memory (allocated 353280000) (tried to allocate 12491120 bytes) in phar:///usr/local/bin/composer/src/Composer/Util/RemoteFilesystem.php on line 392 " Thanks    
1 Answers
laraship Staff answered 4 years ago
o get the current memory_limit value, run:
php -r "echo ini_get('memory_limit').PHP_EOL;"
; Use -1 for unlimited or define an explicit value like 2G
memory_limit = -1
Or, you can increase the limit with a command-line argument:
php -d memory_limit=-1 composer.phar update
To get loaded php.ini files location try:
php --ini