Pedro,
There are two things that I can think off the top of my head that you could do to increase performance. One is running tomcat with the server option. To do this go to the bin directory under TOMCAT_HOME and edit the three lines at the bottom
set _RUNJAVA="%JAVA_HOME%\bin\java"
set _RUNJAVAW="%JAVA_HOME%\bin\javaw"
set _RUNJDB="%JAVA_HOME%\bin\jdb"
TO
set _RUNJAVA="%JAVA_HOME%\bin\java" -server
set _RUNJAVAW="%JAVA_HOME%\bin\javaw" -server
set _RUNJDB="%JAVA_HOME%\bin\jdb" -server
This will increase its efficiency and thus perform better.
You can also adjust the maximum size of the JVM's heap size which can also increase performance. The default JVM heap size is set to 64. I believe you can adjust it to say 256Mb, but this number must be a multiple of 1024.
This is done using the JVM's parameter -X
(
java -Xms256m -Xmx256m)
where Xms is the min heap size and Xmx is the max heap size. You may also specifiy GBs by substituting the last m for a g.
Just remember a size that is to ridiculous will not help when it comes time to do garbage collection.
Hope this helps you.
Let me know if you have any other questions.
Ryan