<p>When setting <code>InitialRAMPercentage</code> or <code>MaxRAMPercentage</code> on <code>graalvm-ce:19.2.0.1</code> (java 8u222) running in k8s I get <code>Improperly specified VM option 'InitialRAMPercentage=50'</code> running in k8s.</p>

<p>I'm setting the options as per <a href="https://www.oracle.com/technetwork/java/javase/8u191-relnotes-5032181.html" rel="noreferrer">documentation</a>: </p>

<pre><code>-XX:+UseContainerSupport -XX:MaxRAMPercentage=80
</code></pre>

Alberto C
<p>Apparently this is a known bug see <a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8219312" rel="noreferrer">JDK-8219312 : -XX:MaxRAMPercentage doesn't recognise integer number correctly</a>.</p>

<p>I solved this by changing my java options to:</p>

<pre><code>-XX:+UseContainerSupport -XX:MaxRAMPercentage=80.0 
</code></pre>
