9 out of 10 are the heap size problem. Changing the -Xms<n>m and -Xmx<n>m in the tomcatw.exe if you are using Windows. On the 32-bit Windows, you can only allocate 1.2 GB max. If you still have problem, check all the static vars to see any objects are growing forever. If you still have problem, there must be some huge objects created from time to time. You need to use tool like figure it out.

Billy Ng

----- Original Message ----- From: "Tuan Quan" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, June 16, 2008 9:11 AM
Subject: Memory usage in Tomcat 6


Hi all, how do I adjust Memory allocation Tomcat 6, running as service in Windows? I ran into "out of memory" error. thanks.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to