LoginSignup
1
0

More than 1 year has passed since last update.

composer installした際、メモリエラーになる場合の対応

Posted at

docker環境でcomposer installした際、メモリエラーになる場合の対応。

PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/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/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223

COMPOSER_MEMORY_LIMIT=-1を追加してcomposer installを実行する。

COMPOSER_MEMORY_LIMIT=-1 composer install
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0