Re: Memory usage in Tomcat 6

2008-06-17 Thread Billy Ng
9 out of 10 are the heap size problem. Changing the -Xmsnm and -Xmxnm 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,

RE: Memory usage in Tomcat 6

2008-06-17 Thread Caldarale, Charles R
From: Billy Ng [mailto:[EMAIL PROTECTED] Subject: Re: Memory usage in Tomcat 6 Changing the -Xmsnm and -Xmxnm in the tomcatw.exe That's tomcat6w.exe, not tomcatw.exe. If you still have problem, there must be some huge objects created from time to time. It can also be PermGen space

RE: Memory usage in Tomcat 6

2008-06-16 Thread Caldarale, Charles R
From: Tuan Quan [mailto:[EMAIL PROTECTED] Subject: Memory usage in Tomcat 6 Hi all, how do I adjust Memory allocation Tomcat 6, running as service in Windows? Use the tomcat6w.exe program in Tomcat's bin directory. Read the FAQ for memory usage information: