Bug#368864: tomcat5: fails throwing a java.lang.OutOfMemoryError exception

Steinar H. Gunderson sgunderson at bigfoot.com
Fri Jun 9 21:12:40 UTC 2006


tags 368864 + patch
thanks

On Thu, May 25, 2006 at 05:08:40PM +0200, Administrador de Sistemas wrote:
> When there have been some 5 to 10 web application deployments, it throws
> this exception: 
> 
>    java.lang.OutOfMemoryError: PermGen space
> 
> It makes tomcat nearly unusable, because yo must restart it every time it
> shows that behaviour. Anyway, I've found that it is a known bug so it has
> been corrected in some Tomcat version. Check this link [1].
> 
> [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6419958

I extracted the attached patch here; I've never used Tomcat, so I can't say
if it's sufficient or not. Testing would be appreciated.

/* Steinar */
-- 
Homepage: http://www.sesse.net/




More information about the pkg-java-maintainers mailing list