Hi Monica, For the past few days I was working on PermGen/Heap space issues. Last night I cold fix this problem after a very long research. I was getting OutOfMemoryError due to PermGen space. I have set -XX:MaxPermGen parameter in my service.bat.
Here is the code sample : "%EXECUTABLE%" //US//%SERVICE_NAME% --JvmOptions "-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed;-XX:PermSize=128m;-XX:MaxPermSize=256m" --StartMode jvm --StopMode jvm This is the configuration setting if you are starting Tomcat as a service. FYI : My Tomcat version is 5.0.30. Note: Must be very careful with the syntax. Hope this will help you. Aparna "Monica Wu" <[EMAIL PROTECTED]> 01/19/2006 04:06 PM Please respond to "Tomcat Users List" <users@tomcat.apache.org> To "Tomcat Users List" <users@tomcat.apache.org> cc Subject RE: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days Thanks, Glen! Upgrading to 5.5.x is an idea. Another one is about PermGen space, suggested by Chunk in earlier message in this thread. So far I don't have confidence that TC5.5 can fix the problem my TC5.0 has. I will try to tune up PermGen space parameter and see how it goes. By following Chunk's email, I am googling how to tune up PermGen parameter. I will do followup for progress. Thank you! - Monica -----Original Message----- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 3:48 PM To: Tomcat Users List Subject: Re: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days Monica Wu wrote: > Production tomcat server was upgraded from 3.3.1 to 5.0.28 about 3 weeks ago. It hang up every 1 or 2 days during weekdays, depending on web server traffic. Unfortunately, I don't know enough to be able to help you here, but since 5.0.28 isn't working anyway, have you considered upgrading to 5.5.x to see if that would fix the problem? Glen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]