akka/akka-core
Vedi su GitHubPerhaps recommend MaxRAMFraction in docs around deployment/docker sections?
Open
#23.499 aperta il 9 ago 2017
1 - triagedhelp wantedt:docs
Metriche repository
- Star
- (13.277 star)
- Metriche merge PR
- (Merge medio 8g 19h) (10 PR mergiate in 30 g)
Descrizione
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 :)