소스 검색

Merge pull request #7157 from xabbuh/patch-1

document the COMPOSER_MEMORY_LIMIT env var
Jordi Boggiano 7 년 전
부모
커밋
a652039cc2
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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