So basically you agree, that the whole app-server/container model, for 
practical purposes is broken in Java? You can be lucky enough that you have 
a small enough app or a big enough memory pool for it not to matter, but 
once an application is loaded into a running JVM, it will leak and 
resources can never get reclaimed again until it is shut down.

/Casper

On Sunday, September 9, 2012 11:04:39 AM UTC+2, fabrizio.giudici wrote: 
>
> On Sat, 08 Sep 2012 11:51:28 +0200, Casper Bang 
> <[email protected]<javascript:>> 
>   
> wrote: 
>
> > Yes, it was not clear from the discussion that the problem is a design 
> > issue within the JVM and that removing PermGen really just pushes the 
> > problem to another generation. I'd love a deep dive into this issue by   
> > the 
> > The Posse and/or guests. It's a little pathetic/scary that if you   
> > redeploy 
> > a Java app one too many times to a container, it may blow up (typically 
> > stop responding at all and needing a kill -9). It makes me question the 
> > whole container aspect and instead deploy with 
> > embedded light-weight containers (Jettt/Grizzly). 
>
> I'm using extensively Jetty (6) for more than one year for all my   
> websites. I had to increment PermGen as well (explicit PG OOM error). I   
> don't have other PG problems related to redeploying since I seldom   
> redeploy (and at the moment I have another problem related to a periodical 
>   
> explosion of sockets in the CLOSE_WAIT state that force me to restart   
> jetty). 
>
>
> -- 
> Fabrizio Giudici - Java Architect, Project Manager 
> Tidalwave s.a.s. - "We make Java work. Everywhere." 
> [email protected] <javascript:> 
> http://tidalwave.it - http://fabriziogiudici.it 
>

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/javaposse/-/wECNXUFu5fwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to