JVM "Out of swap space"错误常见的原因

Out of swap space error generally occurs when your native heap is running out of memory not the java heap.The following could be the suspects which may leak the native memory:


1) JDBC Objects if it is a native driver
2) Object streams
3) NIO
4) Any other native libraries 

Tracing the jni calls to the memory would give a better idea. You can use OS Specific tools also to monitor the native memory. Also you can look for the java heap for the growth of the above mentioned java objects and try reducing it. Also make sure that you have got enough space in the swap file system.

发布了98 篇原创文章 · 获赞 4 · 访问量 3万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览