>>>>> Joseph Shraibman writes:
Joseph> I started an application with java -Xmx1024M classname and
Joseph> at about 60megs I got an OutOfMemoryError. I tried it
Joseph> again with java -Xmx1073741824 classname and it works.
Joseph> Verstion is 1.2.2 rc4
That's very strange, the options have exactly the same effect.
$ java -Xms1025M -Xmx1024M
Incompatible initial and maximum heap sizes specified:
initial size: 1074790400 bytes, maximum size: 1073741824 bytes
The initial heap size must be less than or equal to the maximum heap size.
The default initial and maximum heap sizes are 1048576 and 67108864 bytes.
Could not create the Java virtual machine.
As you can see the, multiplication is done correctly.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]