Thanks for the response Robert.
Is it abnormal to see the mem usage % for tomcat to go as high as 80 or
90%? Currently its only at 11%, but I am wondering at what point I
should start panicking. :)
Robert Harper wrote:
The memory should peak at some point and the go up and down with need. Th
> 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
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
The memory should peak at some point and the go up and down with need. There
are a few things you have to be aware of though. The garbage collector is a
very low priority thread so if your server never has a dull moment, you end
up exhausting memory just because the garbage collector does not get a