Java in a Container: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=Overview= | =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. | 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. | |||
See https://github.com/fabric8io-images/run-java-sh |
Revision as of 20:37, 24 January 2018
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.