Hello,
I am using SUSE Linux 11.1 on a VMware Workstation 6.5.2, and I am encountering the following problem: After downloading and starting up the Eclipse environment for C++, I received an error message indicating a problem with memory allocation. Later I simply called “java” from the command line, and received the following error messages:
java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Does anyone have an explanation?
Regards,
bostjanv
Looks like you are out of memory. Are you? Is this error on the host or
in the VM? Are you running VMs at the time? Post the output from the
following, please:
free
df -h
ps aux
Good luck.
bostjanv wrote:
> Hello,
> I am using SUSE Linux 11.1 on a VMware Workstation 6.5.2, and I am
> encountering the following problem: After downloading and starting up
> the Eclipse environment for C++, I received an error message indicating
> a problem with memory allocation. Later I simply called “java” from the
> command line, and received the following error messages:
>
> java
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
>
> Does anyone have an explanation?
> Regards,
> bostjanv
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
Hello,
Thanks for your suggestion. I tried using Eclipse and Java on a PC with Linux installed, and I found that they use more memory than “free” reports on my VM. I didn’t realize that Eclipse and Java are such memory hogs. I’ll have to figure out whether I can increase free memory on my VM.
Regards,
bostjanv