Re: finalize question

2005-11-03 Thread Darryl L. Miles
Andy Kriger wrote: Thanks for the info. A followup question... "The second one is where the application has ThreadLocal data that is attached to a container thread. In tomcat this thread will be part of the thread pool, so it will never be garbage collected." We use ThreadLocal to handle our H

Re: finalize question

2005-11-02 Thread Andy Kriger
> See ... > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > > (I really need to update the FAQ on this one) > > -Tim Thanks for the info. A followup question... "The second one is where the application has ThreadLocal data that is attached to a container thre

RE: finalize question

2005-11-02 Thread Andy Kriger
>> From: Andy Kriger [mailto:[EMAIL PROTECTED] >> Subject: finalize question >> >> Problem is, I'm not seeing any finalize methods being called. > > Reliance on finalizers is a sign of extremely poor application design. > First, it can be a significa

RE: finalize question

2005-11-02 Thread Caldarale, Charles R
> From: Andy Kriger [mailto:[EMAIL PROTECTED] > Subject: finalize question > > Problem is, I'm not seeing any finalize methods being called. Reliance on finalizers is a sign of extremely poor application design. First, it can be a significant performance hit, since objects wit

Re: finalize question

2005-11-02 Thread Tim Funk
See ... http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 (I really need to update the FAQ on this one) -Tim Andy Kriger wrote: I have a webapp that causes Tomcat to die with an OutOfMemoryError due to PermGen after about 10 reloads. I am trying to determine

finalize question

2005-11-02 Thread Andy Kriger
I have a webapp that causes Tomcat to die with an OutOfMemoryError due to PermGen after about 10 reloads. I am trying to determine if there is a memory leak in my code or maybe even one of our 3rd-party libraries. I am using AspectJ to log whenever any object's finalize method is called. Problem is