quality@glassfish.java.net

Re: Is anyone else hitting 'OutOfMemoryError: PermGen space' on a regular basis with GlassFish 3.0 ?

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Wed, 11 May 2011 08:02:13 -0700

On 5/11/11 7:44 AM, Manfred Riem wrote:
>
> Hi Matthias,
>
> While I understand where you are coming from I would seriously investigate
> which library is causing this problem. I routinely redeploy
> applications and
> I do not hit PermGen space errors for a long long long (months) while.
>
> I know that it is not a fix, but if you can isolate the culprit you
> might be
>
> able to replace it with a better library.
>
Definitely...
Also, file bugs on this library, ask the authors to run findbug on it,
etc...A fix to such problem is possible and the fix would be in the
library itself...

Ludo
>
> Regards,
> Manfred
>
> *From:*matthias.fraass_at_tricoder.net [mailto:matthias.fraass_at_gmail.com]
> *Sent:* Wednesday, May 11, 2011 7:51 AM
> *To:* quality_at_glassfish.java.net
> *Subject:* Re: Is anyone else hitting 'OutOfMemoryError: PermGen
> space' on a regular basis with GlassFish 3.0 ?
>
> Hi Folks,
>
> sad but true: One of the important features of a app server - to
> redeploy one application while the others are still running - has been
> defeated by this :(. I just can't trust on "I guess PermGen space will
> be enough after this redeployment" in a production environment.
>
> So this bug (more of a GC design error...) made us restart our
> production app servers after every redeployment.
>
> Which means we can only restart it at 01:00 am.
>
> Which means that there are no monitored redeployments during office times.
>
> That was really a big disappointment in JEE.
>
> -Matthias
>
> ------------------------------------------------------------------------
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 10.0.1325 / Virus Database: 1500/3629 - Release Date: 05/10/11
>