The link fot the paper is http://java.sun.com/docs/hotspot/gc/ The reason I posted here is because my app, which is a J2EE/Struts/Weblogic app, is having a outOfMemoryError. There are a few things I am suspecting, one of the causes may be the 'size' of my Struts formBean or the size of my stateful EJB. Another cause may be the number of JSP and classes I have exceeded the Permanent Generation. I have reviewed some of the previous postings in this forum talk about those things. That prompted me to review the above article and came up with the questions. I am sorry if this is not the right place for this posting. Is there a GC forum that I can post my question?
-----Original Message----- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Saturday, September 20, 2003 5:54 AM To: Struts Users Mailing List Subject: [OT] RE: Garbage Collection 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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]