wood burning stoves
The moose likes Tomcat and the fly likes Recommended JBoss and Tomcat memory settings? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Recommended JBoss and Tomcat memory settings?" Watch "Recommended JBoss and Tomcat memory settings?" New topic

Recommended JBoss and Tomcat memory settings?

Alexander Yap

Joined: Dec 10, 2003
Posts: 2
Hi all,
Can someone recommend appropriate JVM memory settings ( -Xms and -Xmx ) to start Tomcat and JBoss for best performance?
Is there some guidelines for choosing these values based on available RAM?
I have a single machine running:
- Sun JDK 1.4.2
- MySQL Max 4.0.11
- JBoss 3.2.2 (just serving EJBs)
- Tomcat 4.1.x (running 5 Web apps, 3 of which connect to EJBs on JBoss)
- 1 Swing application (GUI controller for a chat server)
Note: The Tomcat and JBoss are separate installations, not the JBoss bundled with Tomcat.
Machine specs:
CPU: Pentium 4 2.2 GHz
OS: Mandrake Linux 9.1 + KDE 3.1

Alexander Yap
Melbourne, Australia
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

Those who wish to answer, please find this thread in the JBoss forum and post to that one. I'll close this duplicate to keep responses in one place.

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I agree. Here's the link: http://aspose.com/file-tools
subject: Recommended JBoss and Tomcat memory settings?
It's not a secret anymore!