|
Description
|
FULL PRODUCT VERSION :
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
SunOS raylpz1.leipzig.ufz.de 5.9 Generic_118558-20 sun4u sparc SUNW,Sun-Fire-V240 Solaris
EXTRA RELEVANT SYSTEM CONFIGURATION :
2 CPU's
8 GB RAM
A DESCRIPTION OF THE PROBLEM :
The 'java' executable won't run if virtual memory is limited to less than 2GB.
This was working with prior Java releases (e.g. JDK 1.4.2).
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Limit the virtual memory to a value less than 2GB, for example 512MB:
# ulimit -v 524288
Try to execute the 'java' binary:
# java -version
Error occurred during initialization of VM
Could not reserve enough space for customer heap
Could not create the Java virtual machine.
This works if 'ulimit -v' is set at least to 2GB (or greater).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java should work with VM limits less than 2GB.
REPRODUCIBILITY :
This bug can be reproduced always.
Posted Date : 2006-01-20 08:27:12.0
|