0
我已在Ubuntu服务器(1 GB内存/ 30 GB磁盘/ NYC2 - Ubuntu 14.04.4 x64)上成功安装JRuby 9.0.5.0
。在我尝试安装一些宝石时,在命令提示符下。例如捆绑JRuby对于Java运行时环境的内存不足
gem install bundle
它返回内存不足错误:
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00, 65536, 1) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 65536 bytes for committing reserved memory.
我怎样才能提高,以安装所需的宝石内存设置?
您的帮助表示赞赏。