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!

What is the -Xmx limit for jdk1.4 on windows?

843829Nov 2 2007 — edited Nov 9 2007
Hello,

I'd like to know what is maximum amount of memory that can be allocated to the JVM 1.4 on windows? I experimented a bit and reached -Xmx1140m. Anything above that gives
Invalid maximum heap size: -Xmx...
Could not create the Java virtual machine.

I think I was able to reach Xmx1536m once, but not any more, and don't know if anything affects this Xmx setting. I tried to increase maximum size of windows virtual memory to 8gigs but it did not help.

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2007
Added on Nov 2 2007
4 comments
247 views