c3p0 - Frequent out of memory issues -


we running web application 6gb heap assigned it. but, after time, giving out of memory.

the exception stack trace given below.

exception in thread "com.mchange.v2.async.threadpoolasynchronousrunner$poolthread-#2" java.lang.outofmemoryerror: permgen space 00:46:52,678  warn threadpoolasynchronousrunner:608 - com.mchange.v2.async.threadpoolasynchronousrunner$deadlockdetector@772df14c -- apparent deadlock!!! creating emergency threads unassigned pending tasks! 00:46:52,682  warn threadpoolasynchronousrunner:624 - com.mchange.v2.async.threadpoolasynchronousrunner$deadlockdetector@772df14c -- apparent deadlock!!! complete status:         managed threads: 3         active threads: 0         active tasks:         pending tasks:                 com.mchange.v2.resourcepool.basicresourcepool$acquiretask@3e3e8a19 pool thread stack traces:         thread[com.mchange.v2.async.threadpoolasynchronousrunner$poolthread-#1,5,]         thread[com.mchange.v2.async.threadpoolasynchronousrunner$poolthread-#0,5,]         thread[com.mchange.v2.async.threadpoolasynchronousrunner$poolthread-#2,5,]   exception in thread "task-thread-for-com.mchange.v2.async.threadpertaskasynchronousrunner@6bbc0209" java.lang.outofmemoryerror: permgen space exception in thread "com.mchange.v2.async.threadpoolasynchronousrunner$poolthread-#1" java.lang.outofmemoryerror: permgen space exception in thread "com.mchange.v2.async.threadpoolasynchronousrunner$poolthread-#0" java.lang.outofmemoryerror: permgen space exception in thread "com.mchange.v2.async.threadpoolasynchronousrunner$poolthread-#2" java.lang.outofmemoryerror: permgen space 

is problem c3p0 connection pool?

according last few messages, running out of permgen memory. according post, 6 gb assigned heap. if have enough physical memory, double memory assigned permgen. if problem persists (and happens after more or less same amount of time), revert changes , consider analyzing heap through appropriate methods.

use

-xx:permsize=1024m -xx:maxpermsize=1024m 

for 1-gb (1024 mb) allocation. need more.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -