ECHO %CKJAVAMEMORY%
SET CKJAVAMEMORY=-Xms4g -Xmx8g
The syntax is case-sensitive.
s: starting memory
x: maximum memory
4g, 8g: memory specification in GB unit, can also be specified in MB unit, e.g. 3584m.
For more information, it is recommended to refer to Getting_Started.pdf document, section 1.4.