1
0
Fork 0

document the COMPOSER_MEMORY_LIMIT env var

as implemented in 882b82d542
pull/7157/head
Christian Flothmann 2018-03-05 09:38:22 +01:00 committed by GitHub
parent 1dc78c1ad9
commit 47ce495454
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