Re: tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
] Sent: Tuesday, October 03, 2006 7:41 AM To: tomcat Subject: tomcat memory usage questions Hi, We recently developed and deployed a web based application using the following technologies... Struts Spring Hibernate 3.0 Mysql 5.0 tomcat 5.5 Linux Fedora Core 4 After the system went live, I have

RE: tomcat memory usage questions

2006-10-03 Thread Caldarale, Charles R
> From: Robert Harper [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat memory usage questions > > Care in development should be taken with respect to use of objects and > having circular references. You can cause memory leaks with circular > references because you might leave fr

Re: tomcat memory usage questions

2006-10-03 Thread Mikolaj Rydzewski
Robert Harper wrote: Another thing to think about is if you are doing a lot of string concatenation the StringBuffer object is much better to use than the String object. StringBuffer will be easier on memory and more efficient. Unless you concatenate strings in multiple threads it's better to

RE: tomcat memory usage questions

2006-10-03 Thread Robert Harper
. -Original Message- From: Rizwan Merchant [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 7:41 AM To: tomcat Subject: tomcat memory usage questions Hi, We recently developed and deployed a web based application using the following technologies... Struts Spring Hibernate 3.0 Mysql

tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
Hi, We recently developed and deployed a web based application using the following technologies... Struts Spring Hibernate 3.0 Mysql 5.0 tomcat 5.5 Linux Fedora Core 4 After the system went live, I have been monitoring the CPU and memory usages. I dread the outOfMemory errors and am a little