hi:
thanks for the references. I 'll read that.
by the way,
*hanging onto a reference to an object from your webapp classes, preventing
the old webapp deployment from being garbage collected. *

what kind of object do you mean by saying this? classes relevant to the
class loader? or something else? for example?
thanks


2010/11/23 Caldarale, Charles R <chuck.caldar...@unisys.com>

> > From: xu cheng [mailto:xcheng....@gmail.com]
> > Subject: Re: OutOfMemoryError some time on some tomcat!!!!1
>
> > I just kept redeploying apps , and the perm gen keep
> > growing each time I deploy the same app. and when I
> > undeploy the app, the perm gen didn't clean the garbage
>
> Exactly the situation I suggested the other day: you have something that's
> hanging onto a reference to an object from your webapp classes, preventing
> the old webapp deployment from being garbage collected.  Again, read this:
>
> http://wiki.apache.org/tomcat/FAQ/Memory
>
> Also, take a look at these:
>
> http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
> http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to