java vm -Xmx option 1000M vs. 1024M
843829Jan 25 2010 — edited Feb 5 2010Hello,
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