且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Rails资产管道“无法分配内存-Node.js"

更新时间:2022-11-06 14:19:33

只需花费三分钟(如果您快速键入,则可能是两分钟)来向服务器添加交换文件.

It's simple to spend the three minutes (maybe two if you type fast) to add a swap file to your server.

如果您正在运行Ubuntu(不确定该功能在其他Linux操作系统上的运行情况如何),只需按照DigitalOcean的本教程进行操作即可:

If you're running Ubuntu (not sure how well this works for other Linux flavors), just follow this tutorial from DigitalOcean:

https://www. digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04

Voila!