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
Laravel で Cannot allocate memory がでたときの対策 - Qiita
Failed to fork (Cannot allocate memory) gnome-terminal - Unix & Linux Stack Exchange