title: rails assets pipeline "Cannot allocate memory - nodejs"
body: <p>we've just upgraded to Rails 3.2.5 from Rails 3.0.7 and using the assets-pipeline compilation on the fly for the staging server, but some times we face this exception !</p>
  
  <pre><code>Showing /var/rails/appname/app/views/common/_my_partial.html.haml where line # raised:
  
  Cannot allocate memory - nodejs /tmp/execjs20120613-17090-thoc8f.js 2&gt;&amp;1
  
  Extracted source (around line #):
  
  Trace of template inclusion: app/views/layouts/application.html.haml
  </code></pre>
  
  <p>Although nothing fancy or huge memory allocations is done in the coffeescripts or in the images folder for example !</p>
  
  <p>Thanks...</p>