-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u71
-
x86
-
windows_8
FULL PRODUCT VERSION :
JRE 1.8.0.71 (but we weal with it half a year, so how old is current version, maybe it was in previous versions too); JDK several 1.8 and 1.7 versions.
ADDITIONAL OS VERSION INFORMATION :
Not OS specific, tested on multiple OS including Windows 7 64bit, Windows 8 64bit...
EXTRA RELEVANT SYSTEM CONFIGURATION :
Tested on several machines (at least 8) including several laptops and several PCs.
A DESCRIPTION OF THE PROBLEM :
If installed JRE only, it assign only 300MB; and it does not allow to assign (-Xmx) more than 1.2GB - much less than the size of RAM is (8GB on 64bit OS).
If installed JDK, memory management behaves correctly, it assign 25% of RAM; and it can be assigned (-Xmx parameter) whole RAM [even 15x more than the RAM size is].
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run "java -Xmx3G -jar [any .jar file]" on machine with JRE only
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Automatically assign 25% of RAM and allow to assign whole RAM
ACTUAL -
Automatically assigned 300MB (25% of 1.2GB) and allowed to assign 1.2GB
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Stadard errors if too much memory assigned like:
Error occurred during initialization of VM
Unable to allocate ---KB card tables for parallel garbage collection for the requested ---KB heap. /*** OR ***/ Unable to allocate ---KB bitmaps for parallel garbage collection for the requested ---KB heap.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
java -Xmx6G -jar [any .jar file]
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Uninstall JRE and subsequently install JDK
JRE 1.8.0.71 (but we weal with it half a year, so how old is current version, maybe it was in previous versions too); JDK several 1.8 and 1.7 versions.
ADDITIONAL OS VERSION INFORMATION :
Not OS specific, tested on multiple OS including Windows 7 64bit, Windows 8 64bit...
EXTRA RELEVANT SYSTEM CONFIGURATION :
Tested on several machines (at least 8) including several laptops and several PCs.
A DESCRIPTION OF THE PROBLEM :
If installed JRE only, it assign only 300MB; and it does not allow to assign (-Xmx) more than 1.2GB - much less than the size of RAM is (8GB on 64bit OS).
If installed JDK, memory management behaves correctly, it assign 25% of RAM; and it can be assigned (-Xmx parameter) whole RAM [even 15x more than the RAM size is].
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run "java -Xmx3G -jar [any .jar file]" on machine with JRE only
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Automatically assign 25% of RAM and allow to assign whole RAM
ACTUAL -
Automatically assigned 300MB (25% of 1.2GB) and allowed to assign 1.2GB
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Stadard errors if too much memory assigned like:
Error occurred during initialization of VM
Unable to allocate ---KB card tables for parallel garbage collection for the requested ---KB heap. /*** OR ***/ Unable to allocate ---KB bitmaps for parallel garbage collection for the requested ---KB heap.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
java -Xmx6G -jar [any .jar file]
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Uninstall JRE and subsequently install JDK
- duplicates
-
JDK-8153578 Default NewRatio is ignored when UseConcMarkSweepGC is used as GC algorithm
-
- Closed
-