You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Au-Yeung, Stella H" <st...@eds.com> on 2003/09/19 22:57:36 UTC

Garbage Collection

A few question on Garbage Collection.  I read the paper on "Tuning Garbage
Collection".  Can someone tell me:
1) What's the default size of 'Permanent Generation'.  
2) How to print out the available memory in 'Permanent Gereration'?  My
'OutOfMemoryError' may be due to this space is fulled.
3) The paper talkes about 'Promptness' (which is the time between when an
object becomes dead and when the memory becomes available).  Is there a
default of this time.  Can I print out what's the setting is.   I also
suspend that my 'OutOfMemoryError' is due to memory from dead objecs are not
released soon enough.
4) If I use 'NewRatio' to set the ratio between young and old generation,
why do I need  'NewSize' and 'MaxNewSize'  since the latter too are to bound
the young generation size.  Doesn't that 'NewRatio' already setting the size
of the young generation with respect to the old generation and the total
heap size? 

Any help will be appreciated.

Stella

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


[OT] RE: Garbage Collection

Posted by Robert Taylor <rt...@mulework.com>.
Where is this paper? Can you provide a link?

A problem similar to this was discussed
earlier this week.

Since you do not make it clear that you are
using Struts or even a web application, please prepend your
posts with [OT] next time.

robert


> -----Original Message-----
> From: Au-Yeung, Stella H [mailto:stella.au-yeung@eds.com]
> Sent: Friday, September 19, 2003 4:58 PM
> To: 'Struts Users Mailing List'
> Subject: Garbage Collection
>
>
> A few question on Garbage Collection.  I read the paper on "Tuning Garbage
> Collection".  Can someone tell me:
> 1) What's the default size of 'Permanent Generation'.
> 2) How to print out the available memory in 'Permanent Gereration'?  My
> 'OutOfMemoryError' may be due to this space is fulled.
> 3) The paper talkes about 'Promptness' (which is the time between when an
> object becomes dead and when the memory becomes available).  Is there a
> default of this time.  Can I print out what's the setting is.   I also
> suspend that my 'OutOfMemoryError' is due to memory from dead
> objecs are not
> released soon enough.
> 4) If I use 'NewRatio' to set the ratio between young and old generation,
> why do I need  'NewSize' and 'MaxNewSize'  since the latter too
> are to bound
> the young generation size.  Doesn't that 'NewRatio' already
> setting the size
> of the young generation with respect to the old generation and the total
> heap size?
>
> Any help will be appreciated.
>
> Stella
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org