draft-packs icon indicating copy to clipboard operation
draft-packs copied to clipboard

JVM memory settings from the memory limit of docker container

Open msvticket opened this issue 6 years ago • 1 comments

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

msvticket avatar Aug 24 '18 13:08 msvticket

@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

msvticket avatar Sep 05 '18 09:09 msvticket