Error occurred during initialization of VM

Error occurred during initialization of VM
Could not reserve enough space for object heap

如果你碰到了这样的错误,说明你真的该加内存了。
大致应该是内存不够吧,下面是我的情况,只有45M的cached,其他都被使用了。说明真的内存不够了。

说一下情况,在这个服务器上开了14个tomcat,第15个出现了上个错误。

Tasks: 224 total, 1 running, 223 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4043692k total, 3989940k used, 53752k free, 3060k buffers
Swap: 2096472k total, 2096420k used, 52k free, 45304k cached

 

Error occurred during initialization of VM,Could not reserve enough space for object heap

 

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>