Wasn't there also a thread recently about a leak that can be configured
away?  The usage pattern to invoke the 'leak' was to load the site, then
leave it alone, then load it again. It involved the worker thread pool
for connections and JMX registration of said threads?  The pool thought
it was downsizing itself, but in fact it was leaking them away.  So if
you have lots of up and down loading going on, perhaps you can look into
this further.


> -----Original Message-----
> From: Jeff Tulley [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 27, 2004 11:00 AM
> To: [EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError with Seemingly Plenty of Memory
> 
> 
> A while back somebody mentioned that if you continuously 
> redeploy a web application, the symptoms you are mentioning 
> occur.  This is because of all of the objects that are stored 
> in the "permanent generation" memory.  This permanent 
> generation runs out of space, even though the new generation 
> and old generation heaps still have room to grow.  (The 
> permanent generation's size is a fixed percentage of the 
> total memory). 
> I do not know if this is something that can or is fixed in 
> the most recent builds and latest major version (5) of Tomcat.
> 
> On NetWare, we have a view into the memory where we can see 
> how big the perm gen is and what percentage of it is 
> allocated.  I do not know if such a thing exists on other 
> platforms though.  If it does, I certainly have not yet found it.
> 
> Searching the archives (at http://marc.theaimsgroup.com ), it 
> looks like it could have something to do with the classloader 
> layout of your
> application:
> 
http://marc.theaimsgroup.com/?l=tomcat-user&m=107046034505454&w=2


>Although the possibility of a memory leak (sorry--unintended object
>retention) has not been completely ruled out (yes, I'm running the 
>applications through a profiler), I'm quite puzzled that this problem 
>would occur when, by all indications, memory use is nowhere near the 
>limit.


Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to