-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.3.0
-
generic
-
generic
Name: abR10010 Date: 06/27/2000
The HotSpot VM does not report erroneous -Xmx requests
like these:
% java -Xmx1 HelloWorld
Hello World!
or
% java -Xmx1 -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-b20)
Java HotSpot(TM) Client VM (build 1.3-internal, mixed mode)
For comparison see the reaction of Classic VM to such
request:
% java -classic -Xmx1 -version
Incompatible initial and maximum heap sizes specified:
initial size: 1048576 bytes, maximum size: 1 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.
and the reaction of HotSpot VM to the erroneous -Xms request:
% java -Xms1 -version
Error occurred during initialization of VM
Too small initial heap
======================================================================
- relates to
-
JDK-4511871 HS 1.4 rejects -Xms2m as "too small"
- Resolved