问题描述
- Tomcat JDBC Pool Cleaner 内存溢出
-
Exception in thread "pool-8-thread-1" Exception in thread "RECHARGE THREAD" Exception in thread "Tomcat JDBC Pool Cleaner[2106664795:1452233440248]" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.String.toCharArray(String.java:2746)
at com.mysql.jdbc.StringUtils.getBytes(StringUtils.java:2265)
at com.mysql.jdbc.StringUtils.getBytes(StringUtils.java:2247)Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "INT-2,FENGSHEN1,0"
at com.mysql.jdbc.StringUtils.getBytes(StringUtils.java:561)
at com.mysql.jdbc.StringUtils.getBytes(StringUtils.java:619)
at com.mysql.jdbc.Buffer.writeStringNoNull(Buffer.java:658)
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Tomcat JDBC Pool Cleaner[2106664795:1452233440248]"
解决方案
如何避免JDBC内存溢出问题
Tomcat 中的 JDBC Pool
解决方案二:
http://jingyan.baidu.com/article/9989c74621272bf649ecfe74.html
时间: 2024-11-05 16:38:52