How to increase the Java stack size?

后端 未结 9 1627
余生分开走
余生分开走 2020-11-22 01:59

I asked this question to get to know how to increase the runtime call stack size in the JVM. I\'ve got an answer to this, and I\'ve also got many useful answers and comments

9条回答
  •  感情败类
    2020-11-22 02:08

    Hmm... it works for me and with far less than 999MB of stack:

    > java -Xss4m Test
    0
    

    (Windows JDK 7, build 17.0-b05 client VM, and Linux JDK 6 - same version information as you posted)

提交回复
热议问题