Set metaspace size to maximum value

This is to match the behaviour for permgen size.

Also document the new size matching behaviour.

[#59731874]
Merge 59731874-xms to master

[Completes #59731874]