"Error occurred during initialization of VM" in linux

Posted by Khoyendra Pande on Stack Overflow See other posts from Stack Overflow or by Khoyendra Pande
Published on 2011-06-29T07:05:46Z Indexed on 2011/06/29 8:22 UTC
Read the original article Hit count: 259

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   
Mem:     8192        226        7965    
-/+ buf: 226         7965
Swap:    0           0          0

How can I solve this problem?

© Stack Overflow or respective owner

Related posts about java

Related posts about linux