akka-java-cluster-openshift icon indicating copy to clipboard operation
akka-java-cluster-openshift copied to clipboard

Limit heap usage to 128mb

Open jroper opened this issue 5 years ago • 0 comments

By default, Java will use a max heap size of 25% of the available system memory. So, let's say you're using n1-standard-4 compute nodes on GCE, system memory available to a container without setting any resource limets will be 15GB, so it's going to default to almost 4GB heaps, about 32x what this app really needs.

jroper avatar Jun 06 '19 02:06 jroper