I can set the minimum and maximum Java heap size by passing the -Xms
and -Xmx
respectively.
I understand that the maximum flag is necessary to limit the space, but what is the reason for setting the minimum size of the initial heap? If the maximum is large enough, will the space increase? Or am I missing something?
anon
source share