Java Heap settings Best Practice Yoann Dubreuil July 13, 2022 10:22 Updated The content of this article has moved to the new documentation site. Related articles Prepare Jenkins for Support Changing container memory and cpu limits How to Troubleshoot and Address Liveness / Readiness probe failure Pipeline - Build failed due to MissingPropertyException: No such property: env Metrics plugin leaks 'QueueSubTaskMetrics' threads when monitoring the Queue Comments 2 comments Sort by Date Votes Kostiantyn Gorbunov April 23, 2020 15:46 According to Oracle JVM ergonomic page, the maximum heap size NEVER should be 1/4 of the physical memory IN GENERAL CASE. If you read actual source it is just DEFAULT value 1/4 or mem and < 1 GB. This example never ever ever should appear on that kind of reference material. 0 Carlos Rodriguez Lopez June 26, 2020 10:57 @Kostiantyn Gorbunov Thanks for pointing this out 0 Please sign in to leave a comment.