diff --git a/doc/articles/troubleshooting.md b/doc/articles/troubleshooting.md index 92335ea3c..d0a64506f 100644 --- a/doc/articles/troubleshooting.md +++ b/doc/articles/troubleshooting.md @@ -140,6 +140,12 @@ Debian-like systems): memory_limit = -1 ``` +Composer also respects a memory limit defined by the `COMPOSER_MEMORY_LIMIT` environment variable: + +```sh +COMPOSER_MEMORY_LIMIT=-1 composer.phar <...> +``` + Or, you can increase the limit with a command-line argument: ```sh