-Xmoi
Sets the heap expansion allocation increment.
You can use the -verbose:sizes option to find out the values that the VM is currently using.
Syntax
| Setting | Effect | Default |
|---|---|---|
-Xmoi<size> |
Sets the heap expansion allocation increment | See Notes |
Notes:
- By default, the increment size (
-Xmoi) is calculated on the expansion size, set by-Xmineand-Xminf. If you set-Xmoito zero, no expansion is allowed. - For the
genconGC policy, the expansion increment applies to the tenure area of the heap.
This option is not supported for the metronome GC policy, because the heap is always fully expanded.
See Using -X command-line options for more information about the <size> parameter.