Skip to content
UPEEC

JVM Tuning

Configure memory and GC with flags.

Advanced
Comments 0

-Xms512m -Xmx2g -XX:+UseZGC. Measure first; sensible defaults work for most apps. Containers: the JVM respects cgroup memory limits.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.