Slide 21
Slide 21 text
#KubeDay
Tips of JVM heap memory tuning
• By default, in the JVM, the maximum heap memory is 20-30% of the
resource limit. It often means that the resource requests/limits are left
unused.
Max size of heap memory
21
• You can write, for example, “-XX:MaxRAMPercentage=50.0” in JVM
flags to specify heap memory as a percentage of the resource limit
resources.limits
resources.requests
Heap other areas