c3p0 连接内存溢出问题
...
Exception in thread "http-80-20" java.lang.OutOfMemoryError: PermGen space
Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea
d-#8" java.lang.OutOfMemoryError: PermGen space
Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea
d-#5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea
d-#6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea
d-#9" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-23" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-24" java.lang.OutOfMemoryError: PermGen space
....
c3p0连接池是在Spring的配置文件里配的,平时没出现过这种问题,但运行一些天数之后,就报这个了
请教一下大家,有碰到过这种问题的吗?
另附c3p0配置:
c3p0.acquireIncrement=3
c3p0.initialPoolSize=3
c3p0.minPoolSize=2
c3p0.maxPoolSize=50
c3p0.maxIdleTime=600
c3p0.idleConnectionTestPeriod=900
c3p0.maxStatements=100
c3p0.numHelperThreads=10