I have an application with the options below:
I found the
init value is greater than
It seems that init value contains the metaspace size. I searched the javadoc, but found no answer for this. Could you give me the code / javadoc reference for this?
Thanks in advance.
getHeapMemoryUsage describe init as the setting/definition value and not the real sum:
The used and committed size of the returned memory usage is the sum of those values of all heap memory pools whereas the init and max size of the returned memory usage represents the setting of the heap memory which may not be the sum of those of all heap memory pools.
You setting is 2g which is equal to 2147483648 as your init display