Composer version 1.8.0
Как увеличить размер разрешенной памяти для потребления.
При установки падает в фатальную ошибку.
Пробовал:
export COMPOSER_MEMORY_LIMIT=-1
в php.ini ставил memory_limit
php -d memory_limit=512M /usr/local/bin/composer install
Все равно выдает ошибку:
composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated 638590976) (tried to allocate 67108872 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 84
Fatal error: Out of memory (allocated 638590976) (tried to allocate 67108872 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 84