OutofMemoryError: no new native threads can be created
Hi,I need run over 10,000 threads concurrently, but got OutofMemoryError. I know this problem can be fixed by increasing heap size. But how to do that? Any ideas or other solutions on that?Thank you very much.Henry
I doubt that will fix it. Last time I tried it the maximum was around 2,000 threads. Might be more now though.The javadocs provide all of the command line information... http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html#options