1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Merge pull request #7157 from xabbuh/patch-1

document the COMPOSER_MEMORY_LIMIT env var
This commit is contained in:
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

View file

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