OutOfMemoryError:unable to create native thread是什么?

答案解析

该错误表示JVM无法创建新的操作系统线程,原因通常是系统资源(如内存或线程数)耗尽,与JVM堆大小关系不大。