Refer to the following reference material:
Java command arguments
Argument | Description |
|---|---|
‑Xms<size> | Specify the initial heap size, in bytes, of the memory allocation pool. |
‑Xmx<size> | Specify the maximum heap size, in bytes, of the memory allocation pool. |
‑Xss<size> | Specify the thread stack size. |
‑Xrs | Reduces usage of operating-system signals. |
Example
java -Xms1G -Xmx1G -Xrs ...