C
Chenxi
Hi everyone,
I am trying to run 10,000 threads on my machine, and the JVM reported
thread stack out of memory. It is obvious that I have created too many
threads (well, 2000 threads is fine, but not 10,000). I've tried to
increase JVM memory allocation.
java -Xms300m -Xmx300m -Xss4000k
but still cannot create more threads, also i found that -Xss option
didnt help, can anyone help?
Chenxi
I am trying to run 10,000 threads on my machine, and the JVM reported
thread stack out of memory. It is obvious that I have created too many
threads (well, 2000 threads is fine, but not 10,000). I've tried to
increase JVM memory allocation.
java -Xms300m -Xmx300m -Xss4000k
but still cannot create more threads, also i found that -Xss option
didnt help, can anyone help?
Chenxi