dongjoon-hyun opened a new pull request, #476: URL: https://github.com/apache/spark-kubernetes-operator/pull/476
### What changes were proposed in this pull request? This PR aims to set `-XX:+AlwaysPreTouch` by default. ### Why are the changes needed? To improve robustness by ensuring Physical Memory Availability: In some environments where memory overcommitment is allowed by the OS or K8s node, the JVM might successfully reserve heap space that isn't physically available. `AlwaysPreTouch` ensures that the K8s operator actually gets the guarnteed physical RAM at startup. ### Does this PR introduce _any_ user-facing change? Only JVM GC behavior changes. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
