Skip to content

Instantly share code, notes, and snippets.

@ohmrefresh
Created September 30, 2014 03:46
Show Gist options
  • Save ohmrefresh/85328554cb3cd7b6a6f5 to your computer and use it in GitHub Desktop.
Save ohmrefresh/85328554cb3cd7b6a6f5 to your computer and use it in GitHub Desktop.
Fix Composer Update[Cannot allocate memory]
PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory
1.Delete composer cache:
sudo rm -R ~/.composer
2.Delete vendor folder:
sudo rm -R vendor
3.Rebuild the vendor packages:
composer update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment