akka/akka-core

Perhaps recommend MaxRAMFraction in docs around deployment/docker sections?

Open

#23,499 opened on Aug 9, 2017

 (4 comments) (0 reactions) (0 assignees)Scala (3,547 forks)batch import
1 - triagedhelp wantedt:docs

Repository metrics

Stars
 (13,277 stars)
PR merge metrics
 (PR metrics pending)

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 :)

Contributor guide