HI George, Thank you for the reply. I tried to use this option in my service.bat but when I start the service its giving error.(FYI: I am using Tomcat 5.5.12.) Then I set in CATALINA_OPTS but its not taking the PermSize/MaxPermSize values.
Thank you, Aparna. "George Sexton" <[EMAIL PROTECTED]> 01/18/2006 03:09 PM Please respond to "Tomcat Users List" <users@tomcat.apache.org> To "'Tomcat Users List'" <users@tomcat.apache.org> cc Subject RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat] Here's what I use: -server -Xms512m -Xmx768m -XX:PermSize=128m -XX:MaxPermSize=192m -Djava.awt.headless=true Unless you specify "PermSize", it will default to 64MB, and grow to MaxPermSize George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 3:57 PM > To: Tomcat Users List > Subject: RE: Do anyone know how to set PermGen space ? [was > RE: Latest stable version of Tomcat] > > I tried with -XX:MaxPermSize=128m too. > but, its not working. any other suggestions ?? > > Thank you, > Aparna > > > > > > "Tim Lucia" <[EMAIL PROTECTED]> > 01/18/2006 12:26 PM > Please respond to > "Tomcat Users List" <users@tomcat.apache.org> > > > To > "'Tomcat Users List'" <users@tomcat.apache.org> > cc > > Subject > RE: Do anyone know how to set PermGen space ? [was RE: Latest stable > version of Tomcat] > > > > > > > PermGen Max is 128m > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 2:43 PM > To: Tomcat Users List > Subject: RE: Do anyone know how to set PermGen space ? [was RE: Latest > stable version of Tomcat] > > hi, > > As you said, I set on service manger's Java tab like this : > > -Dcatalina.opts=-XX:MaxPermSize=256m > > I ran a jsp which shows the Memery usage. > Its showing correct values for Xmx, Xms but for PermGen it > still showing > the default 64mb. > Do you have any idea ? Is PermGen setting working for you> > > Thank you, > Aparna. > > > > > "Tim Lucia" <[EMAIL PROTECTED]> > 01/18/2006 10:30 AM > Please respond to > "Tomcat Users List" <users@tomcat.apache.org> > > > To > "'Tomcat Users List'" <users@tomcat.apache.org> > cc > > Subject > RE: Do anyone know how to set PermGen space ? [was RE: Latest stable > version of Tomcat] > > > > > > > Wherever/however you start your JVM. In line with -Xmx -XMs > should work > fine. I set mine (under Windows) on the service manager, > under the Java > tab > and (under Linux) in bin/setenv.sh by adding it to CATALINA_OPTS. > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 1:24 PM > To: Tomcat Users List > Subject: RE: Do anyone know how to set PermGen space ? [was RE: Latest > stable version of Tomcat] > > Hi Tim, > > Thank you for the reply. > > But, where should I set this. > Is it in service.bat file ? If so is the following line correct ?? > > "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions > "-Djava.io.tmpdir=%CATALINA_BASE%\temp" --JvmMs 512 --JvmMx 512 > --JvmX:MaxPermSize=512m > > And how to check if jvm is taking these values? Will they be > inserted in > the registry ? > I set JvmMs, JvnMx and --JvmX:MaxPermSize and then started > the service. > Now, how to make sure if JVM is taking these values ? > > Any help would be greatly appericiated. > > Thank you, > Aparna > > > > > > > "Tim Lucia" <[EMAIL PROTECTED]> > 01/18/2006 10:09 AM > Please respond to > "Tomcat Users List" <users@tomcat.apache.org> > > > To > "'Tomcat Users List'" <users@tomcat.apache.org> > cc > > Subject > RE: Do anyone know how to set PermGen space ? [was RE: Latest stable > version of Tomcat] > > > > > > > -XX:MaxPermSize=... [128m, for example] > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 1:02 PM > To: Tomcat Users List > Subject: Re: Latest stable version of Tomcat > > Thank you for the reply. > > Do anyone know how to set PermGen space ? > > > Thank you, > Aparna > > > > > --------------------------------------------------------------------- > 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] > > > > > > > --------------------------------------------------------------------- > 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]