> From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] 
> Subject: Re: Effect of Heap Size on Performance?
> 
> I think it also gives short-lived objects (for example short 
> sessions) a longer time to 'die out', so they won't be moved
> to tenure because survivor space is increased and gc frequency
> is decreased (can anyone confirm this?).

That is the expected effect of having a larger young generation and consequent 
larger eden and survivor spaces.  However, there is a cost of deferring the 
migration of long-lived objects to tenured: they must be copied from one 
survivor space to the other on each minor GC, whereas once in tenured, they do 
not move until a full GC occurs (and perhaps not even then).

It's often cheaper to throw hardware at a performance problem than to do the 
painstaking analysis of GC behavior and gain the few percentage points of 
improvement that will bring.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to