I just want to control the stack size for all of my threads in a Java (groovy) application. For the Hotspot Oracle VM, I know that there are two parameters doing that (-Xss and
-Xss is standard options recognized by the Java HotSpot VM.
-Xss
-XX:ThreadStackSize as other -XX options are not stable and are subject to change without notice.
-XX:ThreadStackSize
-XX
See Java HotSpot VM Options