Java in a Container

From NovaOrdis Knowledge Base
Revision as of 22:55, 5 November 2019 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

External

Internal

Overview

When running java in a container, the max heap should always be set with -Xmx, based on the application needs and the container limits.

Java max heap limit can also be calculated based on the container limits.

Generic script that correlates JVM memory settings to the container limits: