Are you sure you don't have a memory leak? FWIW, I had a client with a situation like this, we wound up throwing in a stopgap that consisted of a thread that checked free space once a minute and explicitly invoked System.gc() if certain parameters were met. Not the solution I originally proposed, but it was something I could do in one day (the length of my contract) and it was cheaper than buying a heap analyzer (a la JProbe).
--- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | -----Original Message----- | From: Darren Kukulka [mailto:[EMAIL PROTECTED] | Sent: Friday, 15 September, 2006 09:59 | To: Tomcat Users List | Subject: Perm Gen not being released in GC | | Hi All, | | | | Throughput Garbage collection on a 5.5.15 Tomcat instance is failing to | release Old Gen heap space when it becomes full on one of our Windows | installations. | | | | For the most part GC does release memory - in a typical working day this | is | an upward trend in terms of the amount of heap reclaimed, gradually | becoming | a downward trend late in the day. | | | | Every now and then JConsole shows Old Gen as having flat-lined. Only a | Tomcat restart can rectify the problem. Killing sessions followed by a | manual GC does not seem to have an effect. | | | | Haven't yet determined whether we need to start looking at the young to | old | heap allocation ratios - is this the main area I should be looking into? | | | | Any thoughts would be appreciated. | | | | Cheers, | | Darren Kukulka | | | | | | Connaught honoured AIM 'Decade of Excellence' Award | | | | Connaught awarded Partnering Contractor of the Year 2005 | | | | Connaught wins AIM 'Company of the Year' award 2004 | | | | West of England Business of the Year Award Winner 2003 | | | | Why not visit our website http://www.connaught.plc.uk | | | | Disclaimer: | | The information transmitted is intended only for the person or entity to | which it is addressed and may contain confidential and/or privileged | material. Any review, retransmission, dissemination or other use of, or | taking of any action in reliance upon, this information by persons or | entities other than the intended recipient is prohibited. If you received | this in error, please contact the sender and delete this message. | | | | Connaught plc, Head Office 01392 444546 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]