On Mon, Mar 21, 2011 at 10:24, abhishek jain <abhishek.netj...@gmail.com> 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 able to have it dynamically size the heap size by using the -XX:+AggressiveHeap startup option. Unfortunately, it cannot dynamically size permgen the way it does heap :/ > 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. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org