Re: Perm Gen not being released in GC

2006-09-16 Thread david.delbecq
This has been discussed quite a lot on mailing list. Lots of things can generate memory leaks in webapp environment. Amongst others: - not nullifying threadlocal variable. - use of singleton pattern - some bugged versions of CGlib take a look at older messages in this mailing list http://marc.thea

Re: Perm Gen not being released in GC

2006-09-15 Thread Nikola Milutinovic
> Im a Project Manager, not a techie but we had the same problem and had to > increase the perm gen to the following: Tomcat sets it at default at 64MB. > Perm Gen Memory: 150 MB > Max Perm Gen: 256 MB Perm gen is memory reserved for class loading and is directly proportional to the number/size

RE: Perm Gen not being released in GC

2006-09-15 Thread Tracy Nelson
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,

Re: Perm Gen not being released in GC

2006-09-15 Thread adrena . keating
ers List" rnd.com> cc: Subject: Re: Perm Gen not being

Re: Perm Gen not being released in GC

2006-09-15 Thread Stephen Caine
Darren, 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 ra