Jvm memory problem

-Xms
-Xmx
-Xmn
these three parameters specify the size of jvm heap memory, so how to specify the overall memory size of jvm.
is heap + stack + method area + program counter + local method stack where is the overall memory size specified
and what is the default memory size of heap and stack?
is there a big answer?

Mar.07,2021

default size can be used: java-XX:+PrintFlagsFinal-version | findstr HeapSize this command to view

Menu