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="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties" else # Bugzilla 45585 LOGGING_CONFIG="-Dnop" fi is not making any differnece onthe memory consumed,as if i do # free -m total used free shared buffers cached Mem: 3072 696 2375 0 0 0 -/+ buffers/cache: 696 2375 Swap: 0 0 0 the used space is 696 mb, where as , it should allocate more than that to java itself, pl. advice how can i allocate more memory to java , as i am getting permgenerrorof memory (OutOfMemoryError: PermGen space) thanks abhi On Mon, Mar 21, 2011 at 8:03 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----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 > >> it exists. > >> > > I have a feeling that i am writing in wrong place, setenv.sh dont > > exist in my system, do i need to create that > > Yes, you can create it. It's better to create this file because it won't > be overwritten by any Tomcat upgrades you might perform in the future. > > > or can i write directly in catalina.sh, if yes where to place this > > configuration. > > You *can* put this into catalina.sh, but it would be better not to. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk2HYboACgkQ9CaO5/Lv0PBPLwCgkNB2NMLGWsIHanH7emroXs2C > u88An2jZaM3mwkzRvQMTx7Eu0bCFeCDi > =xNcw > -----END PGP SIGNATURE----- > >