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 be so

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 serious: hot

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 |

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

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:

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

2006-01-25 Thread Endre Stølsvik
(Apparently sent this to the wrong address first time) Hi! I have a memory-leak. That is, I can't start my full application and have unload-capability. If I comment out (by adding 'if (false) { ... }') large chuncks of the system, I manage to get it up, _and_ get it down again! Currently,

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

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 OutOfMemoryError when I