1
0
Fork 0

Merge pull request #7157 from xabbuh/patch-1

document the COMPOSER_MEMORY_LIMIT env var
pull/7251/merge
Jordi Boggiano 2018-04-12 09:26:38 +02:00 committed by GitHub
commit a652039cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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