Hi, Boy, you sure are running into a lot of problems ;) So many posts in the past weeks...
>I am able to generate an OutOfMemoryException on Tomcat by recompiling the >main servlet of my application which forces Tomcat to reload my web >application from scratch (i.e all the application scope objects and so on). > >Is it correct that Tomcat will not reclaim the memory that the old loaded >classes had handles on? > >This is certainly the observable behaviour and I was wondering if there is >an explanation for it. It depends on how your classes maintain references. Since the old classloader is intact, static references from your servlets, for example, will be kept. Tomcat can't do anything about that, it's your own bad design in the context of reloading webapps (it might be OK design in a console java program). Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
