proc_open(): fork failed-can not allocate memory, error on aws ec2 instance while updating/installing some libraries or packages using composer | by Ziaur Rahman | Medium
Running out of memory when executing composer inside a docker container - Stack Overflow
Tough time iinstalling magento 2.1.5 on vps server - Magento Forums
Cannot allocate memory, over 1g available · Issue #8400 · composer/composer · GitHub