=doc Explain cgroup memory limit flags for docker (#25591)

* =doc Explain cgroup memory limit flags for docker

* Update deploy.md
This commit is contained in:
Konrad `ktoso` Malawski 2018-09-11 14:14:02 +09:00 committed by GitHub
parent 9cb46763d3
commit 84deea70f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,5 +42,7 @@ You can look at the
@scala[@extref[Cluster with docker-compose example project](samples:akka-samples-cluster-docker-compose-scala)]
to see what this looks like in practice.
For the JVM to run well in a Docker container, there are some general (not Akka specific) parameters that might need tuning. You may want to look into using [`-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap`](https://dzone.com/articles/running-a-jvm-in-a-container-without-getting-kille) options for your JVM later than 8u131, which makes it understand c-group memory limits.