Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Tomcat PermGen OutOfMemoryException solution?

Roger Keays

2007-01-17

Replies:

Ondrej Zizka wrote:
> Hello,
>
> I have the common problem with PermGen and Tomcat, see
> http://mail-archives.apache.org/mod_mbox/tomcat-users/200606.mbox/%3C44858185.3040009@(protected)
>
> Suppose there is a school server where students (re)deploy their apps, each
> of which's classes definitions take about five to ten MB.
> Now we have dozens of students, who will deploy at least once, but rather
> several times a day. That means the server has to be restarted every few
> hours.
>
> There is no way to automatically flush the PermGen somehow? Or, under which
> conditions can the GC collect undeployed app's classes data?

How about having them each install their own Tomcat locally? It'd be
part of the learning experience :)


>
> Thanks, Ondra Zizka
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>


--
----------------------------------------
Ninth Avenue Software
p: +61 7 3137 1351 (UTC +10)
f: +61 7 3102 9141
w: http://www.ninthavenue.com.au
e: info@(protected)
----------------------------------------


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.