我们刚刚从Rails 3.0.7升级到Rails 3.2.5,并对登台服务器使用assets-pipeline编译,但有时候我们会面临这个异常!rails assets pipeline“无法分配内存 - nodejs”
Showing /var/rails/appname/app/views/common/_my_partial.html.haml where line # raised:
Cannot allocate memory - nodejs /tmp/execjs20120613-17090-thoc8f.js 2>&1
Extracted source (around line #):
Trace of template inclusion: app/views/layouts/application.html.haml
虽然没有什么花哨的或巨大的内存分配在咖啡或脚本文件夹中完成例如!
谢谢...
我面临着类似的问题,你去解决你的?谢谢! – yorch
@yorch:看到我下面的评论。它为我解决了30秒内的问题。 –
@MustaphaELBanna:我的解决方案适合你吗?如果是这样,请您将其标记为答案?谢谢! –