You need to understand the difference between the JVM space and the environment in which it operates. This option you mentioned (and any other -X or -XX option) is configured for the environment provided by the environment that runs the JVM.
On a computer running Windows XP, Windows is the initiator of the JVM. Therefore, the JVM cannot change the parameter provided by the OS. This is logical.
@Stephen C, you may be right about some VM implementation that provides this function, but I'm not sure.
Ayusman
source share