How to assign more memory to young gen with NewRatio JVM option? Since NewRatio defines ratio of old to young gen, if I set this parameter as 1:3 it says invalid value. I want to assign thrice memory to young gen. How can I do with NewRatio?
The NewRatio has to be a whole number. If you want a higher new to old ratio you need to to set it explicitly. e.g. I have used settings like
-Xmn24g -Xmx26g
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