Koen Aerts wrote:If it's on the same machine, how does load balancing help? Can't you just increase the heap space used by the JVM in your tomcat startup script?
It's going to be more than just increasing the memory size. Default Tomcat configuration is tuned to handle medium loads. If you want Tomcat to handle large loads you have to tune various resource pools. For example, you need to make sure your database connection pool and connector
thread pool is larger. I haven't personally tuned Tomcat to handle large loads, but google for it, you find several blogs/white papers on the subject.