abhishek jain-11 wrote:
>
> Hi friends,
> I need urgent help, i have developed an application but when i run that on
> server i get the following error,
> I am using Tomcat 5.5 and Struts 1.1 , i develpoed application using
> Myeclipse, do i need to optimize application by removing some libraries
> before deploying or so.
> Pl. help
>
Alternatively, if you are using Tomcats hot deploy you are probably running
into the Tomcat memory leak. It's an ongoing problem that is still present
in the current 6.0.26 version. If you're developing in Eclipse then the
problem is probably being made worse by Eclipses default behaviour to
re-deploy after every change to the source. If this is the case then no
amount of adjusting your code as going to help you and no matter how much
memory you allocate to the JVM you are going to hit this at some point. The
only way around this is to periodically shut down and re-start Tomcat.
The developers reckon that they've finally solved this in Tomcat 7 which is
currently in beta.
Regards
--
View this message in context:
http://old.nabble.com/OutOfMemoryError%3A-PermGen-space%21%21%21%21-Dont-know-why--tp29114902p29146903.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org