解决 - java.lang.OutOfMemoryError: unable to create new native thread
2017-04-21 09:15
1416 查看
第一次遇到内存泄漏的方法是 unable to create new native thread
怎么办,怎么办,当然百度找解解方法。http://blog.csdn.net/dangerous_fire/article/details/40511367依照文章去调了一下tomcat参数,但是还是没有解决。
从问题出现的结果来看是因为不能创建新线程了,于是采用jprofile来做线程与内存的监控。
结果发现是有一个方法在创建线程,但是没有回收。。。真是一个大bug啊
最后怎么解决的呢,就是把这个创建线程的方法删除掉,用其余的方式替换这个逻辑了。
相关文章推荐
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- java.lang.OutOfMemoryError: unable to create new native thread如何解决
- 解决java.lang.OutOfMemoryError: unable to create new native thread问题
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- java.jse-异常-解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 经常遇到的java.lang.OutOfMemoryError: unable to create new native thread解决方法
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- java.lang.OutOfMemoryError: unable to create new native thread解决方法
- java.lang.OutOfMemoryError: unable to create new native thread解决方法
- 异常积累学习之解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 【转】解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 转:解决 - java.lang.OutOfMemoryError: unable to create new native thread
- 解决 - java.lang.OutOfMemoryError: unable to create new native thread