tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhishek jain <abhishek.netj...@gmail.com>
Subject Max value of MaxPermSize
Date Mon, 21 Mar 2011 08:01:53 GMT
hi friends,
I have to increase size of MaxPermSize by altering this line on catalina.sh
as i am having memory errors.

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 this is free. i am runnign Centos , tomcat 5.5 .

if [ -r "$CATALINA_HOME"/bin/tomcat-juli.jar ]; then
  JAVA_OPTS="$JAVA_OPTS -server* -Xms1024M -Xmx1024M
-XX:MaxPermSize=2048M*-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


Pl. advice.
-- 
Thanks and kind Regards,
Abhishek jain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message