Re: [Resin-interest] Out of PermGen space

2012-05-30 Thread Scott Ferguson
On 05/29/2012 09:51 PM, Mattias Jiderhamn wrote: On 05/29/2012 12:27 PM, Mattias Jiderhamn wrote: - Original Message - Subject: Re: [Resin-interest] Out of PermGen space Date: Fri, 27 Apr 2012 11:23:41 +0200 From: Mattias Jiderhamnmj-li...@expertsystems.se I should also mention

Re: [Resin-interest] Out of PermGen space

2012-05-29 Thread Mattias Jiderhamn
- Original Message - Subject: Re: [Resin-interest] Out of PermGen space Date: Fri, 27 Apr 2012 11:23:41 +0200 From: Mattias Jiderhamn mj-li...@expertsystems.se I should also mention, that I have an open bug report on Resin 4.0.27 which seems to cause classloader leaks. http

Re: [Resin-interest] Out of PermGen space

2012-05-29 Thread Scott Ferguson
On 05/29/2012 12:27 PM, Mattias Jiderhamn wrote: - Original Message - Subject: Re: [Resin-interest] Out of PermGen space Date: Fri, 27 Apr 2012 11:23:41 +0200 From: Mattias Jiderhamnmj-li...@expertsystems.se I should also mention, that I have an open bug report on Resin 4.0.27 which

Re: [Resin-interest] Out of PermGen space

2012-05-29 Thread Mattias Jiderhamn
On 05/29/2012 12:27 PM, Mattias Jiderhamn wrote: - Original Message - Subject: Re: [Resin-interest] Out of PermGen space Date: Fri, 27 Apr 2012 11:23:41 +0200 From: Mattias Jiderhamnmj-li...@expertsystems.se I should also mention, that I have an open bug report on Resin 4.0.27

Re: [Resin-interest] Out of PermGen space

2012-04-26 Thread Bill Au
If it is not a leak (classes are being cleaned up upon webapp reload but a large number is being created), simply increase max perm size. Bill On Wed, Apr 25, 2012 at 11:47 PM, Matt White mwh...@leporidae.net wrote: On 4/24/2012 5:13 PM, Bill Au wrote: Wow, something I'm actually qualified

Re: [Resin-interest] Out of PermGen space

2012-04-26 Thread Scott Ferguson
On 04/25/2012 08:47 PM, Matt White wrote: On 4/24/2012 5:13 PM, Bill Au wrote: Wow, something I'm actually qualified to talk about on this list! :) Out of PermGen space is almost always caused by a classloader leak which occurs when a webapp is reloaded. It could be caused by either your

Re: [Resin-interest] Out of PermGen space

2012-04-25 Thread Rick Mann
-mat/ 2: http://java.jiderhamn.se/2012/02/26/classloader-leaks-v-common-mistakes-and-known-offenders/ 3: http://java.jiderhamn.se/2012/03/04/classloader-leaks-vi-this-means-war-leak-prevention-library/ - Original Message - Subject: [Resin-interest] Out of PermGen space Date: Tue

Re: [Resin-interest] Out of PermGen space

2012-04-25 Thread Matt White
On 4/24/2012 5:13 PM, Bill Au wrote: Wow, something I'm actually qualified to talk about on this list! :) Out of PermGen space is almost always caused by a classloader leak which occurs when a webapp is reloaded. It could be caused by either your own code, third-party code, or in some case

[Resin-interest] Out of PermGen space

2012-04-24 Thread Rick Mann
When I'm making changes to the code of a webapp, Resin kindly reloads it for me. I can usually get a handful of reloads in before Resin complains about being out of PermGen space. Is there something I'm doing wrong in my app that it leaks like this? -- Rick

Re: [Resin-interest] Out of PermGen space

2012-04-24 Thread Olaf Krische
On 24.04.2012 22:54, Rick Mann wrote: When I'm making changes to the code of a webapp, Resin kindly reloads it for me. I can usually get a handful of reloads in before Resin complains about being out of PermGen space. Is there something I'm doing wrong in my app that it leaks like this?

Re: [Resin-interest] Out of PermGen space

2012-04-24 Thread Rick Mann
On Apr 24, 2012, at 14:32 , Olaf Krische wrote: On 24.04.2012 22:54, Rick Mann wrote: When I'm making changes to the code of a webapp, Resin kindly reloads it for me. I can usually get a handful of reloads in before Resin complains about being out of PermGen space. Is there something

Re: [Resin-interest] Out of PermGen space

2012-04-24 Thread Chris Pratt
Well, yes and no. As I understand the problem, it really got bad around the Java 5 timeframe because of the addition of Enumerations to the language. What Resin does (and all auto-reloading Java containers do) is to create a ClassLoader that contains all the code for your application. When it

Re: [Resin-interest] Out of PermGen space

2012-04-24 Thread Bill Au
Out of PermGen space is almost always caused by a classloader leak which occurs when a webapp is reloaded. It could be caused by either your own code, third-party code, or in some case Java core classes. You need to take heap dumps before and after webapp reload and use a heap analyzer to see

Re: [Resin-interest] Out of PermGen space

2012-04-24 Thread Olaf Krische
Hello Chris, this actually makes me wonder: are enums eating so much space, especially when compared to those things, that you release with the classloader? Heard about this for the first time. Interesting. On 24.04.2012 23:41, Chris Pratt wrote: that, since Enumerations are guaranteed to

Re: [Resin-interest] Out of PermGen space

2012-04-24 Thread Scott Ferguson
On 04/24/2012 03:13 PM, Bill Au wrote: Out of PermGen space is almost always caused by a classloader leak which occurs when a webapp is reloaded. It could be caused by either your own code, third-party code, or in some case Java core classes. You need to take heap dumps before and after

[Resin-interest] Out of PermGen space

2012-04-24 Thread Mattias Jiderhamn
/2012/03/04/classloader-leaks-vi-this-means-war-leak-prevention-library/ - Original Message - Subject: [Resin-interest] Out of PermGen space Date: Tue, 24 Apr 2012 13:54:40 -0700 From: Rick Mann rm...@latencyzero.com When I'm making changes to the code of a webapp, Resin kindly reloads