When setting InitialRAMPercentage
or MaxRAMPercentage
on graalvm-ce:19.2.0.1
(java 8u222) running in k8s I get Improperly specified VM option 'InitialRAMPercentage=50'
running in k8s.
I'm setting the options as per documentation:
-XX:+UseContainerSupport -XX:MaxRAMPercentage=80
Apparently this is a known bug see JDK-8219312 : -XX:MaxRAMPercentage doesn't recognise integer number correctly.
I solved this by changing my java options to:
-XX:+UseContainerSupport -XX:MaxRAMPercentage=80.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With