quality@glassfish.java.net

Re: Error: Out of memory

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Fri, 12 Sep 2008 20:14:19 +0200

Reported as https://glassfish.dev.java.net/issues/show_bug.cgi?id=6082

On Fri, Sep 12, 2008 at 5:35 PM, Kedar Mhaswade <Kedar.Mhaswade_at_sun.com>wrote:

> I think it's worth logging this as a bug if not already present.
>
> Were you just deploying and undeploying or anything else?
> Traditionally, we have been having PermGen space problems in such scenario.
>
> Thanks for reporting it.
>
> -Kedar
>
> Jose Noheda wrote:
>
>> Hi,
>>
>> After some heavy work (several iterations of redeploys) with Netbeans 6.5
>> & Glassfish v3 I start getting:
>>
>> GRAVE: Exception in thread "Thread-14" GRAVE: java.lang.OutOfMemoryError:
>> PermGen space
>> GRAVE: Exception in thread "DynamicReloader" GRAVE:
>> java.lang.OutOfMemoryError: PermGen space
>> GRAVE: Exception in thread "RMI RenewClean-[9.172.156.62:3262 <
>> http://9.172.156.62:3262>]" GRAVE: java.lang.OutOfMemoryError: PermGen
>> space
>> GRAVE: Exception in thread "JMX server connection timeout 44" GRAVE:
>> java.lang.OutOfMemoryError: PermGen space
>> GRAVE: Exception in thread "connector-runtime" GRAVE:
>> java.lang.OutOfMemoryError: PermGen space
>> GRAVE: Exception invoking periodic operation: java.lang.OutOfMemoryError:
>> PermGen space
>>
>> GRAVE: Exception in module org.glassfish.core.kernel [101] :
>> java.lang.OutOfMemoryError: PermGen space
>> GRAVE: org.jvnet.hk2.component.ComponentException: Failed to load
>> com.sun.enterprise.v3.admin.StopDomainCommand from
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1_at_1a076a7
>>
>> Which is quite a burden because the server won't stop at all and forces me
>> to kill every java process..I know the permgen space is configurable but the
>> current threshold must be very low. And something has to be devised to be
>> able to stop the server somehow
>>
>> Regards,
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>