draft-packs
draft-packs copied to clipboard
JVM memory settings from the memory limit of docker container
These changes are intended to remove the risk for experiencing out of memory kill on containers due to the jvm calculating higher memory limits that what are set on the container (via values.yaml).
For background and details see https://blogs.oracle.com/java-platform-group/java-se-support-for-docker-cpu-and-memory-limits In java 10 this will be the default behaviour
@jstrachan @rawlingsj I think this change would help especially new users overcome an unnecessary hurdle.
A couple of more references regarding this feature: https://blog.docker.com/2018/04/improved-docker-container-integration-with-java-10/ https://dzone.com/articles/why-my-java-application-is-oomkilled