CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-Xmca / -Xmco

Sets the expansion step for the memory allocated to store the RAM (-Xmca) and ROM (-Xmco) portions of loaded classes.

Each time more memory is required to store classes in RAM or ROM, the allocated memory is increased by the amount set.

If the expansion step size you choose is too large, OutOfMemoryError is reported. The exact value of a "too large" expansion step size varies according to the platform and the specific machine configuration.

You can use the -verbose:sizes option to find out the value that is being used by the VM.

Syntax

Setting Effect Default
-Xmca<size> Set expansion step for RAM 32 KB
-Xmco<size> Set expansion step for ROM 128 KB

See Using -X command-line options for more information about the <size> parameter.