users@glassfish.java.net

RE: Re: Caused by: java.lang.OutOfMemoryError: PermGen space

From: Markus Karg <karg_at_quipsy.de>
Date: Fri, 6 Jun 2008 08:40:34 +0200

Thanks for all the nice tips, but:

I do not see how any of those tips would help me:

* As I am running the latest JRE already, I cannot step up.
* If the problem is in the Logger constructor, I cannot change it anyways.

Actually I do not see in what way the programmer shall be the bad guy. Actually my code is compliant with Java EE 5 spec, the verifier has no problem with it. I solely use classes provided by Sun. So there is nothing "outside" provided by me (all MY code is in the same EAR and such by definition is garbage collectable).

As a result I conclude that if the Logger constructor is the problem, then that should get fixed: This is what weak references are made for!

Regards
Markus

-----Original Message-----
From: Gopal.Jorapur_at_Sun.COM [mailto:Gopal.Jorapur_at_Sun.COM]
Sent: Donnerstag, 5. Juni 2008 20:25
To: users_at_glassfish.dev.java.net
Subject: Re: Caused by: java.lang.OutOfMemoryError: PermGen space

Hi ,

Here is an interesting blog from Frank on this issue
http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java

Also, you can try the suggestion given in the following forum discussion
http://forums.java.net/jive/thread.jspa?threadID=17492

Thanks,
Gopal

Markus Karg wrote:

> GlassFish told me this error message in the server.log.
>
>
>
> How to fix that?
>
>
>
> Thanks
>
> Markus
>
>
>
> QUIPSY QUALITY GmbH & Co. KG
>
> Ein Unternehmen der MES-Gruppe
>
> Stuttgarter Strasse 23
>
> D-75179 Pforzheim
>
> Tel: 07231-9189-52
>
> Fax: 07231-9189-59
>
> www.quipsy.de <http://www.quipsy.de>
>
> karg_at_quipsy.de <mailto:karg_at_quipsy.de>
>
> Registergericht Mannheim HRA 701214
>
> Geschäftsführer: Nils Schroeder
>
>
>
> Diese E-Mail enthält persönliche, vertrauliche und vor Weitergabe
> geschützte Informationen und ist ausschließlich für den vorgesehenen
> o.g. Empfänger (Adressaten) bestimmt. Falls Sie diese E-Mail
> versehentlich erhalten haben und nicht der vorgesehene Empfänger sind,
> bitten wir Sie, die E-Mail und deren Anhänge nicht aufzubewahren,
> nicht zu vervielfältigen, nicht zu nutzen und nicht weiterzugeben.
> Bitte informieren Sie uns als Absender über diesen Zustellungsfehler
> und löschen Sie die E-Mail.
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net