Ver código fonte

document the COMPOSER_MEMORY_LIMIT env var

as implemented in 882b82d542b45435bae1d95b33e225427950c59c
Christian Flothmann 7 anos atrás
pai
commit
47ce495454
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      doc/articles/troubleshooting.md

+ 6 - 0
doc/articles/troubleshooting.md

@@ -140,6 +140,12 @@ Debian-like systems):
 memory_limit = -1
 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:
 Or, you can increase the limit with a command-line argument:
 
 
 ```sh
 ```sh