I am looking into possibilities of using the parameters XX:MInRAMpercentage and XX:MaxRAMpercentage when determining the heap size in a JVM.
Let me show an example:
We have the Kubernetes POD named Pod1.
Inside Pod1 we have:
If we set XX:MaxRAMpercentage at 50% which means that the heap will be 250 Mi.
What will happen when the heap exceeds the value set by XX:MaxRAMpercentage?
Out Of Memory error?
I’ve browsed through the internet but was not able to find any answers on this topic. Therefore I am turning to the community.