MetaspaceSize is the amount of native memory allocated for metadata, when reached, will induce a garbage collection to attempt to unload classes. It is not the size of any actual allocation but just a number. It does not have a minimum value. Correct the alignment of MetaspaceSize and MaxMetaspaceSize. They do not have the same alignment requirements as the heap. Page size alignment may be appropriate.
|