DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38317>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38317 Summary: OutOfMemoryError : PermGen space Product: Tomcat 5 Version: 5.0.30 Platform: Sun OS/Version: Windows XP Status: NEW Severity: major Priority: P5 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hi, I am not sure if this is a bug. I tried to fix this problem by setting -XX MaxPermSize but jvm is not setting it. The environment I am using : Tomcat 5.0.30 Jdk 1.5 Windows XP I am seeting in service.bat like this : set CATALINA_OPTS=-XX:MaxPermSize=256m "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=% CATALINA_BASE%\temp;-Dcatalina.opts=%CATALINA_OPTS%" --JvmMs 512 --JvmMx 512 I am creating a service and then starting it. I have a JSP which shows the Heap/Non-Heap memory allocations including PermGen memory. When I load this page its showing the correct values (the values I am setting) for Xmx Xms but for PermGen its showing the default values and not the value I am setting. For some reason JVM is not taking the -XX:MaxPermSize. But if I set these in catalina.bat like this set CATALINA_OPTS=-Xms512m -Xmx512m -XX:MaxPermSize=256m and run startup.bat JVM is setting all these parameters correctly. Any help would be greatly appericiated. Thank You, Aparna -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]