Composer Install - Not enough memory

January 22, 2014 4.7k views
I used 512MB Droplet .. Composer gave an error of not enough memory and got killed. I resized to 1 GB droplet and tried again still I get the "Cannot allocate memory" Has anyone encountered and resolved, if so please help out with a solution. Thanks
2 Answers
Have you tried to create a SWAP file?

by Etel Sverdlov
Linux swaps allow a system to harness more memory than was originally physically available. Here's how to set up a linux swap file on Ubuntu 12.04

I followed the first link, it worked perfectly. Thanks!

Have another answer? Share your knowledge.