PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)

Spread the Knowledge

When Showing this type of error in your composer then first go to in


and open “composer.bat” and paste this below code

@echo OFF
:: in case DelayedExpansion is on and a path contains ! 
php -d memory_limit=-1 "%~dp0composer.phar" %*

Ajay K
Follow me