Java Mailing List Archive

http://www.junlu.com/

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

MemoryError: PermGen space after several redeployments

Matthew Patton

2005-02-07

Replies:

Hi,
 I am using Tomcat 5.5.4 on Linux. I am new to Tomcat and have a
simple web application which I have been developing and testing in Tomcat.
When I deploy, I create the war file, and copy it to Tomcat's webapps
directory, at which point Tomcat automatically detects the new war file
and deploys the web app.
 However, after a dozen or so redeployments, I get the following in
the midst of the deployment:

MemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space

When I stop Tomcat and start it up again, it works fine until I have
redeployed a dozen times, at which point I get the same error. Why is
this happening? Am I not redeploying properly? It seems like a memory
lead in Tomcat's deployer.

           Thanks,
           Matthew Patton


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

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