How To Find Default Configuration (e.g. -Xmx, -Xms) Settings (ergonomics) for JVM?

JVM comes with "ergonomics" feature which tries to find the best possible JVM configuration for the execution environment.

The configuration choices suggested by JVM can be printed with:

java -XX:+PrintFlagsFinal

A fraction of the output for Java 8:

uintx MaxHeapSize                              := 4294967296                          {product}   
uintx InitialHeapSize                          := 268435456                           {product}
bool UseG1GC                                   = false                               {product}
See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home:

NEW: Online Workhop Effective WebApps without Frameworks is also coming to: MUC Airport.

Airport MUC workshops: Web (SPA, PWAs, Offline, Desktop, Mobile) Applications Essentials and Effective Web Applications. No migrations. #usetheplatform

Podcast: and newsletter:

A book about rethinking Java EE Patterns


Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments