我看到这样的评论
one place i have seen this problem is if you keep creating threads,and instead of calling start(),call run() directly on the thread object.
This will result in the thread object not getting dereferenced…
So after sometime the message unable to create new native thread comes up
在我的应用程序中,我们最初计划使用线程,但后来我们决定不再需要了,所以我们只调用run()而不是start().我们是否需要为新的threadClass(..)做手动GC?
我的tomcat启动设置
-Xms1024m -Xmx1024m -XX:MaxPermSize=450m