美文网首页
如何解决 Composer 时内存不够

如何解决 Composer 时内存不够

作者: 萧格 | 来源:发表于2020-11-26 10:48 被阅读0次

错误信息

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/RuleWatchGraph.php on line 52

解决方式

COMPOSER_MEMORY_LIMIT=-1 composer update/install/require

相关文章

网友评论

      本文标题:如何解决 Composer 时内存不够

      本文链接:https://www.haomeiwen.com/subject/dvsaiktx.html