dev@glassfish.java.net

Re: java.lang.OutOfMemoryError: PermGen space

From: Daniel Adelhardt <Daniel.Adelhardt_at_Sun.COM>
Date: Thu, 27 Jul 2006 09:42:17 +0200

Hi Dmitry,

PermGen is a special part of the Java heap used to hold internal data,
class data and interned strings.
If this heap part gets exhausted it throws the error you saw. Try to
increase the Permanent Space by applying the JVM setting
-XX:MaxPermSize=<n> where n is for example 96m,128m or higher values as
needed. The default max size (depending on the jvm release) should be
about 64m.

-Daniel


Dmitry Mozheyko wrote:
> Hello all.
>
> What means this error while application deploying
>
> Exception occured in J2EEC Phase
> java.lang.OutOfMemoryError: PermGen space
> ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>


-- 
*****************************************************************
Sun Microsystems GmbH                 Daniel Adelhardt
                                      Phone:  (+49 89) 46008 2443
Sonnenallee 1                         Mobile: (+49 172) 8417283
85551 Kirchheim-Heimstetten           Fax:    (+49 89) 46008 2570
http://www.sun.de                     mailto:dadelhardt@sun.com
*****************************************************************