Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Davide Romanini
Il giorno gio, 26/01/2006 alle 06.23 -0500, Kevan Miller ha scritto: > Davide, > If you're using Axis, you might be interested in two Axis issues that > I uncovered. They both caused ClassLoader memory leaks within > Geronimo. The problems are described here: > http://issues.apache.org/jira/br

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Kevan Miller
On Jan 26, 2006, at 4:28 AM, Davide Romanini wrote: Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto: Don't use shared libraries and you shouldn't have this problem. If all of the statics are in your WEB-INF directory then you won't have an issue with unloading classes an

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Endre Stølsvik
On Thu, 26 Jan 2006, Davide Romanini wrote: | Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto: | | > Don't use shared libraries and you shouldn't have this | > problem. If all of the statics are in your WEB-INF | > directory then you won't have an issue with unloading | > cl

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Endre Stølsvik
| > It's a known problem caused by a lot of different | > situations. It's sad | > that a lot of important applications suffer of this | > problem. I'm working | > with Axis, and just trying to reload the bundled | > webapp never release | > the old WebappClassloader. | > | > I think this is seri

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Davide Romanini
Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto: > Don't use shared libraries and you shouldn't have this > problem. If all of the statics are in your WEB-INF > directory then you won't have an issue with unloading > classes and class loaders. > It would be great if could b

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-25 Thread Wade Chandler
--- Davide Romanini <[EMAIL PROTECTED]> wrote: > Il giorno mer, 25/01/2006 alle 15.34 +, Mike > Fowler ha scritto: > > Good day, > > > > I have encountered a similar problem while > deploying webapps. In my case > > I noticed that after the sixth deployment I would > encounter > > OutOfMemo

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-25 Thread Mike Fowler
Davide Romanini wrote: I think this is serious: hot deployment becomes totally useless and you have to restart tomcat each time you deploy a new version :-( I agree, and from what I understand of the problem there is not a whole lot that can be done at the Tomcat level, it appears to be down

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-25 Thread Davide Romanini
Il giorno mer, 25/01/2006 alle 15.34 +, Mike Fowler ha scritto: > Good day, > > I have encountered a similar problem while deploying webapps. In my case > I noticed that after the sixth deployment I would encounter > OutOfMemoryError when I tried to use the application. After trawling the >

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-25 Thread Mike Fowler
Good day, I have encountered a similar problem while deploying webapps. In my case I noticed that after the sixth deployment I would encounter OutOfMemoryError when I tried to use the application. After trawling the archives and running the tomcat jvm with the -XX:+PrintGCDetails option I dis