0 points

Troubleshooting - Composer


dashboard

Tue Oct 27 2020 05:59:09 GMT+0000 (UTC)

Posted by @eneki #bash

//Error

PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' in phar

//Fix

/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
/sbin/mkswap /var/swap.1
/bin/chmod 0600 /var/swap.1
/sbin/swapon /var/swap.1
content_copy Copy

https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors