You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.
This value must be a multiple of 1024 greater than 1MB.
Append the letter k or K to indicate kilobytes, m or M to indicate megabytes, g or G to indicate gigabytes.

‑Xmx<size>

Specify the maximum heap size, in bytes, of the memory allocation pool.
This value must a multiple of 1024 greater than 2MB.
Append the letter k or K to indicate kilobytes, m or M to indicate megabytes, g or G to indicate gigabytes.

‑Xss<size>

Specify the thread stack size.

‑Xrs

Reduces usage of operating-system signals.


Example

java -Xms1G -Xmx1G -Xrs ...


  • No labels