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:+UseConcMarkSweepGC
Are these ok...specially the new GC algos
-
Are these args Correct? (1 messages)
- Posted by: adnan memon
- Posted on: July 07 2004 06:15 EDT
Threaded Messages (1)
- Are these args Correct? by Jose Ramon Huerga Ayuso on July 12 2004 14:54 EDT
-
Are these args Correct?[ Go to top ]
- Posted by: Jose Ramon Huerga Ayuso
- Posted on: July 12 2004 14:54 EDT
- in response to adnan memon
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 Huerga
http://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