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!

Maximum Heap Size on Windows 2003

843811Apr 26 2005 — edited Nov 10 2005
Hi,

I an working with J2SE 1.4.2 (exactly 1.4.2_08) on Windows 2003 Server SP1
The server i use have 4Go of RAM..

As Windows 2003 is a 32bits OS, the limit memory size for jvm is supporsed
to be 2048 Mo. Am I right?

When i try to set -Xmx parameter to 2048m, i receive the following message:
"Error occurred during initialization of VM
Could not reserve enough space for object heap"

If i try reducing this parameter to -Xmx1536m, it did not work too. The
first value to make it work was -Xmx1408m.

How can I do to make it work allowing 2040Mo to the jvm?

Regards,

Yannick
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2005
Added on Apr 26 2005
15 comments
1,307 views