Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jgravois's avatar

Unable to Clone Repo

I am trying to upgrade our production site to a new version and when I try to clone repo I get this

Cloning into 'www.my-uam.com'...
Loading composer repositories with package information
                                                      Updating dependencies (including require-dev)
PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223
0 likes
2 replies
crnkovic's avatar

Run without Composer memory limit:

COMPOSER_MEMORY_LIMIT=-1 composer install

jgravois's avatar

how do you do that on Forge? It's just a button to click that runs composer?

Please or to participate in this conversation.