Category: amazon-ec2

Increasing composer memory limit on AWS (mmap() failed: [12] Cannot allocate memory)

Ive been trying to composer install and composer update on an EC2 AWS instance, and it always hangs on same package: symfony$thanks.json Reading /root/.cache/composer/repo/https—repo.packagist.org/provider-symfony$thanks.json from cache Im aware that I probably need to increase memory size for this action so…