-Xmine / -Xmaxe
Set the minimum and maximum amounts by which the garbage collector expands the heap.
Syntax
| Setting | Default |
|---|---|
-Xmine<size> |
1 MB |
-Xmaxe<size> |
0 (unlimited expansion) |
See Using -X command-line options for more information about the <size> parameter.
Explanation
Typically, the garbage collector expands the heap by the amount required to restore the free space to 30% (or the amount specified by -Xminf).
If heap expansion is required: