Closed pkosiak closed 5 years ago
https://developer.jboss.org/thread/149559?_sscc=t
https://stackoverflow.com/questions/43651167/is-there-any-advantage-in-setting-xms-and-xmx-to-the-same-value
TLDR: Java will increase heap size until it reaches Xmx. But you can allocate maximum amount of memory from the start (Xms option) for performance reasons (e.g. avoid garbage collection).
Xmx
Xms
:+1:
👍
https://developer.jboss.org/thread/149559?_sscc=t
https://stackoverflow.com/questions/43651167/is-there-any-advantage-in-setting-xms-and-xmx-to-the-same-value
TLDR: Java will increase heap size until it reaches
Xmx
. But you can allocate maximum amount of memory from the start (Xms
option) for performance reasons (e.g. avoid garbage collection).