I did a clean install of SUSE 11.1 and brought it up-to-date. This is as a VMWare virtual machine on my Mac OS 10.5.7 system.
Java isn’t working and even after a restart. When I type the following into the terminal window I get:
kimball@linux-2hwv:~> java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
How much RAM did you give the box? Does it work as ‘root’ or some other user?
Good luck.
christopherkimball wrote:
> I did a clean install of SUSE 11.1 and brought it up-to-date. This is
> as a VMWare virtual machine on my Mac OS 10.5.7 system.
>
> Java isn’t working and even after a restart. When I type the following
> into the terminal window I get:
>
> kimball@linux-2hwv:~> java -version
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
>
>
> Chris Kimball
> mail@cvkimball.xom
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
When setting up the VM, I noticed that the memory space was set at something like 350 MB, which is a lot less than I’d like. I didn’t know how to change it on VMWare, however.
My hardware has 8 GB memory and lots of disk space. Is this the problem and does anyone know how to set the VMWare limits (hopefully without re-installing SUSE) ?
The problem was due to low memory in the virtual machine.
For VMWare users, the memory can be adjusted by shutting down the SUSE machine and clicking the “Settings” switch. Click the resulting the “Processors & RAM” setting and set the memory. I set it to 2 GB.
Excellent work. Thank-you for posting back your solution. Most VMs (as
you found) allow reconfiguration of memory, though most of them (in my
experience) also require either the VM to be down or restarted to apply
those changes (fairly normal of any system changing RAM amounts, except
insanely-high-end servers it seems, like the ones that MAY be running the
VMs as the host).
Good luck.
christopherkimball wrote:
> The problem was due to low memory in the virtual machine.
>
> For VMWare users, the memory can be adjusted by shutting down the SUSE
> machine and clicking the “Settings” switch. Click the resulting the
> “Processors & RAM” setting and set the memory. I set it to 2 GB.
>
> On restart, Java ran correctly.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/