-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u192
-
x86_64
-
generic
ADDITIONAL SYSTEM INFORMATION :
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
A DESCRIPTION OF THE PROBLEM :
-XX:MaxRAMPercentage doesn't recognize integer number correctly
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -XX:MaxRAMPercentage=10 -version
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error
ACTUAL -
Improperly specified VM option 'MaxRAMPercentage=10'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
CUSTOMER SUBMITTED WORKAROUND :
add .0 to value like this:
java -XX:MaxRAMPercentage=10.0 -version
FREQUENCY : always
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
A DESCRIPTION OF THE PROBLEM :
-XX:MaxRAMPercentage doesn't recognize integer number correctly
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -XX:MaxRAMPercentage=10 -version
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error
ACTUAL -
Improperly specified VM option 'MaxRAMPercentage=10'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
CUSTOMER SUBMITTED WORKAROUND :
add .0 to value like this:
java -XX:MaxRAMPercentage=10.0 -version
FREQUENCY : always
- duplicates
-
JDK-8186248 Allow more flexibility in selecting Heap % of available RAM
-
- Resolved
-