On Jun 19, 6:14 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
On Fri, 19 Jun 2009 12:38:10 -0700 (PDT), zigzagdna
<zigzag...@yahoo.com> wrote, quoted or indirectly quoted someone who
said :
?Error occurred during initialization of VM
Could not reserve enough space for object heap?
seehttp://mindprod.com/jgloss/runerrormessages.html#RESERVEOBJECTHEAP
--
Roedy Green Canadian Mind Productshttp://mindprod.com
If everyone lived the way people do in Vancouver, we would need three more entire planets to support us.
~ Guy Dauncey
What is baffling to me is, on the UNIX server I have two UNIX logins
longin1 and login2.
Both login's have very similar environment variables.
a. For I use login1,
I type command java
it shows me java help with all java options which is correct behavior.
b: When I use login2,
I type java
I get:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Why login2 will consistently get the error while login1 does not.
In login2 when I use:
java -Xmx64M
I do get correct behavior of getting java command help, so it looks
like some memory issue.
Still when login1 and login2 are on same machine memory behavior
should be the same.
Really strange ..
Try "which java" on each login, and also check each login's aliases.
-Xmx parameter that is too big for a 32 bit JVM.