MemoryError: PermGen space after several redeployments 2005-02-08 - By Remy Maucherat
Back On Tue, 08 Feb 2005 11:26:50 +0100, Peter Rossbach <pr@(protected)> wrote: > Hello Matt, > > I hope we have fix that with 5.5.8 see: > > >http://issues.apache.org/bugzilla/show_bug.cgi?id&135
You can use a context listener to clean that up.
The container can't always cleanup after the application, so if you want to really use redeployment, then you need to make sure that applications are reasonably well designed. Easy example of a leak that can't be fixed by the container: put a JAR in common with a static class keeping references to some of the application objects (ex: some sort of server global cache), and don't clean these up.
-- xxxxxxxxxxxxxxxxxxxxxxxxx R�my Maucherat Developer & Consultant JBoss Group (Europe) S�RL xxxxxxxxxxxxxxxxxxxxxxxxx
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|