There is not a single pair of correct arguments for the memory management of the JVM. You should try to start the traces of the JVM (using at least -verbosegc) and try to adjust the minimum and maximun memory, and the size of the generations (eden, old objects, new objects, etc.) with values that are ok with your application (every application consumes memory in a different way). Of course, never assign more memory than the total phisical memory available (if you have 1 Gb. and specify 512 mb., never launch more than two instances of tomcat).
Jose Ramon Huergahttp://www.terra.es/personal/jrhuerga/
im running tomcat 4.1.29 server (jdk1.4.2_03) on IBM Power edge4600 system having 1GB RAM and dual processors. Im seeting follwoing parameters for tomcat server:-server -Xms256m -Xmx512m -XX:+UseParNewGC -XX:+UseConcMarkSweepGCAre these ok...specially the new GC algos