ok, you know better :-)

I just came accross this too, in case it helps the OP in anyway : 
http://developers.sun.com/sunstudio/articles/perfoptions.html (Jan 2007)

Also, it helps to check the code to see if there any circular object 
references. 
Pre-compiling JSPs either with Jasper of HttpUnit , also makes the app faster 
overall, in addition to other kinds of tuning.

Use a performance analyzer to identify what parts of the code are taking up 
most of the memory.
http://developers.sun.com/sunstudio/analyzer_index.html

-Rashmi


----- Original Message ----
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Thursday, March 15, 2007 1:18:32 PM
Subject: RE: tomcat 5.5


> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] 
> Subject: Re: tomcat 5.5
> 
> "...For instance, running gc might take extremely long time. 
> In such case, it is advisable to reduce the heap size...."

Urban myth, possibly true in the very early days of Java, when GC was
not terribly sophisticated.

> "...Until the memory size used for the JVM heap is lower than 
> the specified limit, the garbage collector does not perform 
> serious attempts to release memory...."

The above sentence, as written, is obviously incorrect.  Perhaps "while"
was meant, rather than "until".  The crux of the matter is the meaning
of "serious attempts".  HotSpot JVMs try to avoid a full GC if at all
possible, since it's a rather expensive thing to do.  Instead, small GCs
are run on the Eden space, which for most applications, frees up 60% -
90% of the dead space.  I would categorize these as serious, but perhaps
not everyone would.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

---------------------------------------------------------------------
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