Getting Started

Summary: How to solve the Composer Allowed memory size issue? Solution:  COMPOSER_MEMORY_LIMIT=-1 composer update COMPOSER_MEMORY_LIMIT=-1 composer "Package name"

How to solve the Composer Allowed memory size issue?

Error: PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52

 

Fatal error: The allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52

 

Solution: 

COMPOSER_MEMORY_LIMIT=-1 composer update

COMPOSER_MEMORY_LIMIT=-1 composer "Package name"

Comments

Sign in to publish a comment

0 comments

Be the first to comment on this post.