Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/laragon/bin/composer/composer.phar/src/Composer/DependencyResolver/Solver.php on line 220
-
composer update --lock
Loading composer repositories with package information
Updating dependencies (including require-dev)Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/laragon/bin/composer/composer.phar/src/Composer/DependencyResolver/Solver.php on line 220
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.
-
This type of command worked for me when having issues with out of memory errors and composer commands:
php -d memory_limit=-1 C:\laragon\bin\composer\composer.phar install
I realize this is a late reply and might not help in this situation but since there were no replies and this is one of the first Google searches for this type of issue I thought I'd share my workaround.