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 vm -Xmx option 1000M vs. 1024M

843829Jan 25 2010 — edited Feb 5 2010
Hello,
When setting the -Xmx option is there a difference between for example -Xmx1000M and -Xmx1024M?
aside from the obvious extra 24 MB of memory being allocated?

I'm wondering because I got into an argument with a tech support person from a software Vendor. The real problem is actually a bug in the program causing an infinite loop which is crashing the software, but try explaining that to a tech support person reading from a script.

Anyways if I'm trying to allocate about a 1GB of memory, would using -Xmx1000M cause some kind of performance inconsistency due to the fact that its not a 2^x increment vs -Xmx1024M?

I don't think so.

Thank you in advance for any comments.

Andy

Edited by: andrewp on Jan 25, 2010 9:32 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 5 2010
Added on Jan 25 2010
2 comments
1,461 views