Drupal 8

"proc_open(): fork failed - Cannot allocate memory" error occur when using "composer update"

solution:

  1. /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
  2. chmod 600 /var/swap.1
  3. /sbin/mkswap /var/swap.1
  4. /sbin/swapon /var/swap.1
  5. composer update
  6. /sbin/swapoff /var/swap.1
  7. rmĀ /var/swap.1
Subscribe to RSS - Drupal 8