Fix “Allowed memory size” issue in Composer

When you try to run composer install or composer update, Sometime you get the allowed memory size issue as shown below.

If you update memory_limit to some higher value and if you still get the same error, then you have to update the composer memory limit to -1 (basically unlimited) with the below command and then run normal composer install or composer update command.


Hopefully this will fix the problem.

Fix “Allowed memory size” issue in Composer

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top