Cloud9 应用程序内存和磁盘 space 限制

Cloud9 app memory and disk space limit

我正在使用 Cloud9 IDE 完成第 6 章 Michael Hartl 教程 [www.railstutorial.org/book] 并且服务器已停止 运行 由于内存限制。我正在使用 512MB Ram 附带的免费套餐。我已经尝试使用 Disk/Memory/CPU 菜单强制终止进程。我也试过用

杀死bash中的spring
pkill -9 -f spring

我也尝试了第 3 章末框 3.4 中的建议。

$ ps aux | grep spring

ubuntu 11419 0.0 0.0 10548 852 pts/1 S+ 19:22 0:00 grep --color=auto spring

$ kill -9 11419
bash: kill: (11419) - No such process

大家指点一下!

您在执行 ps aux 后看到的那个过程 运行 grep spring 实际上是 grep 发现自己(正如您在名称中看到的那样)。似乎没有 spring 个进程 运行。

您应该为 Rails 教程工作 space 收到 768MB 的内存,如果您写入 Cloud9 支持,他们会给您一些额外的交换 space 以便您不再有任何问题达到内存限制。 (我为 Cloud9 工作,这将在所有工作中实施 spaces 很快)