users@glassfish.java.net

Re: java.lang.OutOfMemoryError: PermGen space

From: Lucas Jordan <lucasjordan_at_gmail.com>
Date: Tue, 20 Feb 2007 12:20:15 -0500

if you use the web interface click on Application Sever on the left, then on
the right, click on JVM Settings then JVM Options, then you can add the
entry -XX:MaxPermSize=128m

you can also edit you domain.xml file (domains/domain1/config/domain.xml)
...you will see a bunch of <jvm-options>, add one of those

On 2/20/07, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org> wrote:
>
> I'm getting this error when I deploy a simple jax-ws hello world web
> service into a freshly installed glassfish v2.
>
> I believe that the PermGen space is default on 64m and can be 128 max?
> Where can i specify this VM parameter so asadmin start-domain would start
> the server-instance using that parameter?
>
> Greetings,
> Kristof
> [Message sent by forum member 'kristof_taveirne' (kristof_taveirne)]
>
> http://forums.java.net/jive/thread.jspa?messageID=204449
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>