Fatal error: Out of memory Update Lavaravel 6.0

Laraship QuestionsCategory: TechnicalFatal error: Out of memory Update Lavaravel 6.0
hola asked 5 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    
Attachments
1 Answers
laraship Staff answered 5 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
 
hola replied 5 years ago

Hi, thanks for your answer.

I check every thing you recommend to me but the issue bring me many errors, let me show you.

https://imgur.com/a/W63wb1b
https://imgur.com/a/hzQDpFl

I hope this information could help us to get our site working again.

campored.org