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!

JVM Memory Limit on Linux

843811Jan 2 2002 — edited Sep 18 2003
I am experiencing no joy with getting the JVM to allocate a heap size of over 2G in my RedHat Linux server.

My box has 4G RAM and i'd like to do java -mx4000M but all I get is "Could not reserve enough space for object heap". Anyone got a workarround (I assume its a 2^32 issue) and will it be possible to do this with the official 1.4 release (Ive tried with 1.3 and 1.4 Beta 3)

Thanks in advance

Tony
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2003
Added on Jan 2 2002
16 comments
1,177 views