"Error occurred during initialization of VM" in linux server

Posted by Khoyendra Pande on Server Fault See other posts from Server Fault or by Khoyendra Pande
Published on 2011-06-29T07:04:47Z Indexed on 2011/06/29 8:24 UTC
Read the original article Hit count: 288

Filed under:
|
|

I am trying to run java command in linux server it was running well but today when I tried to run java I got some error-

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.

my memory space is -

root@vps [~]# free -m
         total       used       free     shared    buffers     cached
Mem:     8192        226       7965          0          0          0
    -/+ buffers/cache:        226       7965
Swap:            0          0          0

How can I solve this problem.

© Server Fault or respective owner

Related posts about java

Related posts about linux-server