[IPT] Classloader leak in IPT

Derek Broughton derek at pointerstop.ca
Wed Sep 5 17:02:48 CEST 2012


I'm running IPT in Tomcat and experiencing PermGen memory errors.
>From the Tomcat Manager, I can use "Find Leaks", and as suspected get:

"The following web applications were stopped (reloaded, undeployed),
but their classes from previous runs are still loaded in memory, thus
causing a memory leak (use a profiler to confirm): /ipt"

http://frankkieviet.blogspot.ca/2006/10/classloader-leaks-dreaded-permgen-space.html
does a pretty good job of explaining _why_ this happens.
Unfortunately, I can't seem to find part two which is supposed to tell
me how to go about fixing it. His blog also only deals with memory
leaks on redeployment, but this is happening any time IPT is running
for a while, so IPT is leaking in ordinary use, rather than just at
context initialization.

I'm going to try to find what's happening with a profiler, but I'm new
to this...

Tomcat Version	6.0.35
JVM Version	Sun 1.6.0_24-b07
Linux	2.6.24-28-generic	amd64
-- 
derek


More information about the IPT mailing list