akka/akka-core
View on GitHubPerhaps recommend MaxRAMFraction in docs around deployment/docker sections?
Open
#23,499 opened on Aug 9, 2017
1 - triagedhelp wantedt:docs
Repository metrics
- Stars
- (13,277 stars)
- PR merge metrics
- (Avg merge 8d 19h) (10 merged PRs in 30d)
Description
A new JVM option has become available recently (in JDK8 too): -J-XX:MaxRAMFraction=1
which allows the JVM be aware of limits set by cgroups onto memory.
A good combo of options when running Java in containers / cgroups nowadays is: https://twitter.com/analytically/status/894592422382063616
Could be a good hint to provide to our users in docs around how to deploy things. If someone experienced with containers from the community would like to pick this up that'd be lovely so the wording is right etc :)