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 >>>> F

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 Jiderhamn > >> > >> I should als

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 Jiderhamn >> >> I should also mention, that I have an open bug repo

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 > > I should also mention, that I have an open bug report on Resin 4.0.27 > which seems to cause classloader leaks. >

Re: [Resin-interest] Out of PermGen space

2012-04-27 Thread Mattias Jiderhamn
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 > > When I'm making changes to the code of a webapp, Resin kindly reloads

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 eithe

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 wrote: > On 4/24/2012 5:13 PM, Bill Au wrote: > > Wow, something I'm actually qualified to talk about on th

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 cas

Re: [Resin-interest] Out of PermGen space

2012-04-25 Thread Rick Mann
> http://java.jiderhamn.se/2011/12/11/classloader-leaks-i-how-to-find-classloader-leaks-with-eclipse-memory-analyser-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-t

[Resin-interest] Out of PermGen space

2012-04-24 Thread Mattias Jiderhamn
12/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 When I'm making changes to the code of a webapp, Resin kindly reloads it for me. I can usu

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 webap

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 w

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 wha

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 se

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 so

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?

[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 __