title: Allocation failed - process out of memory while npm install
body: <p>I have installed <code>nodejs</code> and <code>npm</code> in my <code>aws</code> server and there were no issues. But when I tried to install <code>bower</code>, I got a memory allocation error. I was able to fix it by disabling the progress bar by </p>
  
  <pre><code>sudo npm set progress=false
  </code></pre>
  
  <p>But i'm getting </p>
  
  <blockquote>
    <p>Allocation failed - process out of memory error</p>
  </blockquote>
  
  <p>on <code>npm install</code>. I tried <code>npm cache clean</code>, but the same error exists.</p>