1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

composer update で a lack of memory and not having swap configured と言われた時の解決方法。

Posted at

環境を変えてcomposer updateをしたところ失敗して困りました。

composer update が失敗

composer updateが失敗しました。

composer update
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing aws/aws-sdk-php (3.11.2)
The following exception is caused by a lack of memory and not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details

memory不足みたいなことが書いてあります。

composer update をオプションをつけて実行

sudo composer update -vvv --profile

成功しました(☝ ՞ਊ ՞)

参考

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?