Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-23 Thread Mark Thomas
Christopher Schultz wrote: > Mark, > > On 4/21/2009 5:54 PM, Mark Thomas wrote: >> 1. Find an app that you can't reload without OOME >> 2. Get a profiler - I like Yourkit >>Full disclosure: they give ASF committers a free copy >> 3. Reload you app once >> 4. Use the profiler to look for instan

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/21/2009 5:54 PM, Mark Thomas wrote: > 1. Find an app that you can't reload without OOME > 2. Get a profiler - I like Yourkit >Full disclosure: they give ASF committers a free copy > 3. Reload you app once > 4. Use the profiler to look f

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-23 Thread János Löbb
are there any good primers on eden, Stanislaw Lem : Eden :) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > we expect free technical support 24/7/365 so bring a blackberry w/ you No thanks; I'll keep my iPhone (and Skype, so I don&#x

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Martin Gainty
euvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Wed, 22 Apr 2009 14:19:16 -0500 > Subject: RE: Headstart on "Resolving O

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread André Warnier
Caldarale, Charles R wrote: ... It can't really; if I get time before going on vacation this Friday I'll look to see where that number comes from. We'll miss you. You'll probably want mountains, and chocolate. Switzerland ? You *did* say it was unnecessarily complicated ;) Probably "seem

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > Does that mean that, technically speaking, PermGen is allowed > to grow to take over the whole heap? No, PermGen is ind

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/22/2009 12:16 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp >> reload" >> &g

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Mark_Despain
/jhat, please share! Mark -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, April 22, 2009 10:30 AM To: Tomcat Users List Subject: RE: Headstart on "Resolving OOM-PermGen errors on webapp reload" > From: mark_

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Caldarale, Charles R
> From: mark_desp...@mcafee.com [mailto:mark_desp...@mcafee.com] > Subject: RE: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > Yeah, Insane just using reflection and a graph traversal algorithm to > get the job done. It looks

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Mark_Despain
signals to InsaneEngine that static fields should be traversed during the heap walk. ~Mark -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, April 22, 2009 9:05 AM To: Tomcat Users List Subject: Re: Headstart on "Resolving OOM-Pe

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > It's also a shame that the values for -Xmx aren't shown It is - it's the MaxHeapSize under Heap Configu

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/21/2009 10:27 PM, mark_desp...@mcafee.com wrote: > Ok, so my wife actually wrote a couple of month ago in Japanese about > using strategy for leveraging the Insane library and a continuous > integration server in order to prevent webapp cla

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/21/2009 8:48 PM, Caldarale, Charles R wrote: > It's really 64 MB, of which 32.5 MB is available for allocation. The > 8 MB is the initial amount available for allocation. (If this sounds > unnecessarily complicated, that's only because i

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark_Despain
warning... this is a very heavy weight operation. If there are better ways this can be done, I'd love to hear about it! Best regards, Mark DeSpain -Original Message- From: Despain, Mark Sent: Tuesday, April 21, 2009 4:01 PM To: users@tomcat.apache.org Subject: RE: Headstart on

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > the "configuration" seems to indicate that I've > got an 8MB PermGen space, but then the Permanent > G

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark_Despain
7 PM To: Tomcat Users List Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp reload" -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/21/2009 6:17 PM, mark_desp...@mcafee.com wrote: > None of the issues I've looked into have never been attributed to > To

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/21/2009 6:17 PM, mark_desp...@mcafee.com wrote: > None of the issues I've looked into have never been attributed to > Tomcat. You mean "ever" attributed to Tomcat, right? Good. ;) > * A webapp registering an object with another object tha

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Thanks Chris, As in my previous thanks to Mark, I'll be slowly mastering how to get into this. Cheers, Ken On Apr 21, 2009, at 5:44 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 4/21/2009 4:32 PM, Ken Bowen wrote: I develop locally on a Mac OS/X 10.5

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark Thomas
Ken Bowen wrote: > Hey Mark, > > This is really good. > Presumably this is an outline for success It has a 100% success rate so far on a admittedly small sample size of around 5 (I can't remember the exact number). Mark >-- and it is definitely an > outline for improvement of my rather improvis

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Hey Mark, This is really good. Presumably this is an outline for success -- and it is definitely an outline for improvement of my rather improvished skills in this area. Many thanks! Ken On Apr 21, 2009, at 5:54 PM, Mark Thomas wrote: Ken Bowen wrote: Mark, Any chance we could make a hea

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/21/2009 5:50 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp >> reload" >> >

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark_Despain
Hi Ken (and Mark), Different "Mark" here... I'm new to this mailing list and am not a Tomcat developer. Forgive me if I'm interrupting your thread, but I am very interested in this topic, since I've spent a fair amount of time debugging OOM-PermGen errors within Tomcat (5.5.x). I would be int

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp >> reload" >> >> Can you observe your heap and which ClassLoaders are still hanging >> a

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark Thomas
Ken Bowen wrote: > Mark, > > Any chance we could make a headstart on "Resolving OOM-PermGen errors on > webapp reload" ?? > Perhaps some general pointers, guidance etc. [to help you refine the > talk in advance :-) ] The very short version. 1. Find an app that you can't reload without OOME 2. Ge

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > Can you observe your heap and which ClassLoaders are still hanging > around? You might want to check to see how many

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 4/21/2009 4:32 PM, Ken Bowen wrote: > I develop locally on a Mac OS/X 10.5.6 box with 4GBmem using (My)Eclipse > and Tomcat 6.0.18 directly. With lots & lots of reloads, I'm not > surprised that I eventually hit OOM PermGen space in this sett