Hi,

> I am assuming that this FAQ entry is still valid for Tomcat 5.5.9:
>   Why does the memory usage increase when I redeploy a web application?
> Because the Classloader (and the Class objects it loaded) cannot be
> recycled. They are stored in the permanent heap generation by the JVM,
> and when you redepoy a new class loader is created, which loads another
> copy of all these classes. This can cause OufOfMemoryErrors eventually.
> 
>   This could explain why, when I redeploy my webapp many times, I
> eventually run out of PermMemory.
> 
>   I am curious what others do, in production, because of this issue?
> 

Have a look at the following page:

http://wiki.apache.org/jakarta-commons/Logging/UndeployMemoryLeak

>   We are going to be doing some testing to see about optimizing the
> memory allocation, but I am curious how others handle this.
> 
> Thanx.

Regards

      Dirk

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

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

Reply via email to