Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java JVM Could not reserve enough space for object heap.

843829Mar 11 2010 — edited Mar 15 2010
Server : windows 2003 server (32 bit)
java : 1.5_0_22
I get the following error when executing from command line
java -XX:MaxPermSize=256m -Xmx512m
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


The server has over 20GB physical memory with over 19 GB free right now.

It does not give an error upto -Xmx486m. I read a few articles here about having contingous address space on the server. Could that be a cause? How do I ascertain this?

Any suggestions are welcome. Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2010
Added on Mar 11 2010
7 comments
688 views