搜索:jvm

解决java.lang.OutOfMemoryError: unable to create new native thread

原创 2021-04-08 10:40 阅读(2861)次
#### 异常问题 项目并发测试一个功能时报创建不了本地线程,如下: ``` Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) at ...