RE: Max value of MaxPermSize

2011-04-04 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Max value of MaxPermSize > Do you have any idea why he's having issues? Can't tell - the OP has provided no useful information, and instead of doing some analysis, appears to be taking a shotgun

RE: Max value of MaxPermSize

2011-04-04 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Max value of MaxPermSize > I was reading an IBM doc that "quoted" a sun doc that said > permgen is part of heap. Which does not mean that it's included in the -Xmx settting, just that a

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Monday, April 04, 2011 9:43 AM > To: Tomcat Users List > Subject: Re: Max value of MaxPermSize > > On 04/04/2011 15:40, Jeffrey Janner wrote: > > Some of the answer below may be off. I

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
ginal Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Monday, April 04, 2011 9:38 AM > To: Tomcat Users List > Subject: RE: Max value of MaxPermSize > > > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > > Subject: RE: Max va

Re: Max value of MaxPermSize

2011-04-04 Thread Mark Thomas
On 04/04/2011 15:40, Jeffrey Janner wrote: > Some of the answer below may be off. I was reading an IBM doc that "quoted" > a sun doc that said permgen is part of heap. > Jconsole lists it as non-heap. Process heap != Java object heap When you see heap in in any JVM related context you need to b

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Monday, April 04, 2011 9:30 AM > To: 'Tomcat Users List' > Subject: RE: Max value of MaxPermSize > > The permgen is actually a section of the heap. > So if you want a 1GB permgen, you'll need at lea

RE: Max value of MaxPermSize

2011-04-04 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Max value of MaxPermSize > The permgen is actually a section of the heap. Not really true. > So if you want a 1GB permgen, you'll need at least > a 1GB heap size Definitely not true. Although Per

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
e if that helps.) > -Original Message- > From: abhishek jain [mailto:abhishek.netj...@gmail.com] > Sent: Monday, April 04, 2011 3:09 AM > To: Tomcat Users List > Cc: Christopher Schultz > Subject: Re: Max value of MaxPermSize > > hi, > I think the following line in >

Re: Max value of MaxPermSize

2011-04-04 Thread abhishek jain
hi, I think the following line in /usr/local/jakarta/apache-tomcat-5.5.28/bin/catalina.sh if [ -r "$CATALINA_HOME"/bin/tomcat-juli.jar ]; then JAVA_OPTS="$JAVA_OPTS -server -Xms512m -Xmx512m -XX:MaxPermSize=1024m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" LOGGING_CONFIG=

Re: Max value of MaxPermSize

2011-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abhishek, On 3/21/2011 6:14 AM, abhishek jain wrote: >>> also am i writing these values in the correct location, >> >> With the tomcat base startup scripts, this should be in >> $CATALINA_BASE/setenv.sh. This file will be sourced by catalina.sh if >>

Re: Max value of MaxPermSize

2011-03-21 Thread André Warnier
abhishek jain wrote: also am i writing these values in the correct location, With the tomcat base startup scripts, this should be in $CATALINA_BASE/setenv.sh. This file will be sourced by catalina.sh if it exists. Hi I have a feeling that i am writing in wrong place, setenv.sh dont exist in my

Re: Max value of MaxPermSize

2011-03-21 Thread Igor Cicimov
What kind of memory errors do you have? I have never seen application that uses 2GB of permanent memory. Usually if you have "out of memory" errors you need to increase the -Xmx1024M and not the permanent memory size. In your setting you have given the JVM heap only 1GB and the permanent memory 2GB

Re: Max value of MaxPermSize

2011-03-21 Thread abhishek jain
> > also am i writing these values in the correct location, > > With the tomcat base startup scripts, this should be in > $CATALINA_BASE/setenv.sh. This file will be sourced by catalina.sh if > it exists. > Hi I have a feeling that i am writing in wrong place, setenv.sh dont exist in my system, do

Re: Max value of MaxPermSize

2011-03-21 Thread Francis GALIEGUE
On Mon, Mar 21, 2011 at 10:24, abhishek jain wrote: [...] > what should be the appropriate settings, and on what basis should i select > them, i want max memory given to java. > You cannot really know offhand what permgen size you'll need. If you use a recent enough Sun JVM, however, you'll be ab

Re: Max value of MaxPermSize

2011-03-21 Thread abhishek jain
On Mon, Mar 21, 2011 at 2:40 PM, Mark Thomas wrote: > On 21/03/2011 08:01, abhishek jain wrote: > > hi friends, > > I have to increase size of MaxPermSize by altering this line on > catalina.sh > > as i am having memory errors. > > Those settings look very, very odd. > > hi, what should be the ap

Re: Max value of MaxPermSize

2011-03-21 Thread Mark Thomas
On 21/03/2011 08:01, abhishek jain wrote: > hi friends, > I have to increase size of MaxPermSize by altering this line on catalina.sh > as i am having memory errors. Those settings look very, very odd. > I wanted to know what is hte max size i can set as i have 3.5 GB RAM (on a > VPS) and most of