我有一个带有Ubuntu 14和1GBRAM的个人服务器。我想配置运行在此服务器中的Liferay中的Glassfish。
我正在尝试,但是初始化过程给了我这样的信息:
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c8bd7000, 84496384, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment
我正在运行一个应用程序,它将在memcache中加载大约6000万个条目。我在一个桶里加了两台服务器。在加载了大约65%的数据后,我看到这两台服务器上的130万个项目被逐出。这些都是当时的统计数据。
服务器上的 1
STAT bytes_written 619117542
STAT limit_maxbytes 3145728000
服务器上的 2
STAT bytes_written 619118863
STAT limit_maxbytes 3145728000
这是free -m在那个时间点的输出。
服务器上的 1
total used