tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rene Guenther" <innflow-guent...@innflow.com>
Subject Re: permgen w hibernate and webapp reload
Date Fri, 01 Jun 2007 13:30:59 GMT
Some encounter this problem also with jetty. Related to 
PermGen errors are often tools like hibernate, spring, 
cglib, tomcat and sun's java implementation (instead of 
BEAs JRockit).

I recently found the following Links:
http://wiki.caucho.com/OutOfMemoryError
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2481
http://forum.hibernate.org/viewtopic.php?t=947902&postdays=0&postorder=asc&highlight=leak+permgen&start=45
http://forum.springframework.org/showthread.php?t=21383
www.jroller.com/page/agileanswers/20060623

But those blog entries are the most entertaining ones:
http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror
http://my.opera.com/karmazilla/blog/2007/03/15/permgen-strikes-back


The following tomcat settings help (at least you increase 
the number of possible redeploys):
PermSize: 256m
MaxPermSize: 512m

René

On Fri, 1 Jun 2007 14:09:04 +0100
  Torgeir Veimo <torgeir@pobox.com> wrote:
> I seen the problem with permgen errors when one is 
>redeploying a  webapp that uses hibernate described in a 
>number of places, but I  haven't seen any solution for 
>it. The Tomcat FAQ even suggest that  this is a problem 
>with WebAppClassLoaders, http://tomcat.apache.org/ 
>faq/memory.html#why .
> 
> This is an extremely annoying bug,  so I'm wondering, is 
>this  impossible to fix? Why does tomcat exhibit this 
>problem when Jetty  does not?
> 
> 
> 
> -- 
> Torgeir Veimo
> torgeir@pobox.com
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: 
>users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: 
>users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message