Question: how to set xms xmx?
Answer: Use -Xmx to specify the maximum heap size., Use -Xms to specify the initial Java heap size., Use -Xss to set the Java thread stack size.