Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

JVM memory settings from the memory limit of docker container #67

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

msvticket
Copy link
Member

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
Copy link
Member Author

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant