Difference between revisions of "Java in a Container"

From NovaOrdis Knowledge Base
Jump to: navigation, search
(Internal)
(Internal)
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
=Internal=
 
=Internal=
  
* [[Docker#Subjects|Docker]]
 
 
* [[Docker_Container_Best_Practices#Java_in_a_Container|Docker Container Best Practices]]
 
* [[Docker_Container_Best_Practices#Java_in_a_Container|Docker Container Best Practices]]
 
* [[Java Memory]]
 
* [[Java Memory]]
 +
* [[Kubernetes Resources Management Concepts]]
 +
* [[Docker Resources Management Concepts]]
  
 
=Overview=
 
=Overview=

Revision as of 23:14, 5 November 2019

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: