quickstarts: permgen space

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

quickstarts: permgen space

Heiko Braun


I do constantly run into PermGen space errors when deploying the login quickstart.
Does somebody experience the same problems?


JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -client -d32 -Xverify:none -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC



--

Heiko Braun
Senior Software Engineer
JBoss by Red Hat






_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: quickstarts: permgen space

Jesse Jaggars
Hey Heiko,

In domain mode I've run into issues with exhausting the permgen space while working on JDR.  With the last master JDR will run into this error if there is even one deployment. I'm using the helloworld quickstart for testing.

I was poking around with visualvm and noticed that on my machine the permgen size for the actual server instances have a permgen size of 85megs or so. I added the following to host.xml and each instance gets the ~256m permgen:

<jvm-options>
    <option value="-XX:MaxPermSize=256m" />
</jvm-options>

This snippet goes near the <heap> tag in the <jvms> section of the config.

I think in the standalone config, the server gets configured from the $JAVA_OPTS environment variable so perhaps this is an accident?

Jesse

----- Original Message -----


I do constantly run into PermGen space errors when deploying the login quickstart.
Does somebody experience the same problems?


JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -client -d32 -Xverify:none -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC



--

Heiko Braun
Senior Software Engineer
JBoss by Red Hat
http://about.me/hbraun






_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: quickstarts: permgen space

Brian Stansberry
Can you file a JIRA? With a patch for bonus points. ;)

On 1/23/12 3:00 PM, Jesse Jaggars wrote:

> Hey Heiko,
>
> In domain mode I've run into issues with exhausting the permgen space while working on JDR.  With the last master JDR will run into this error if there is even one deployment. I'm using the helloworld quickstart for testing.
>
> I was poking around with visualvm and noticed that on my machine the permgen size for the actual server instances have a permgen size of 85megs or so. I added the following to host.xml and each instance gets the ~256m permgen:
>
> <jvm-options>
>      <option value="-XX:MaxPermSize=256m" />
> </jvm-options>
>
> This snippet goes near the<heap>  tag in the<jvms>  section of the config.
>
> I think in the standalone config, the server gets configured from the $JAVA_OPTS environment variable so perhaps this is an accident?
>
> Jesse
>
> ----- Original Message -----
>
>
> I do constantly run into PermGen space errors when deploying the login quickstart.
> Does somebody experience the same problems?
>
>
> JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -client -d32 -Xverify:none -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC
>
>
>
> --
>
> Heiko Braun
> Senior Software Engineer
> JBoss by Red Hat
> http://about.me/hbraun
>
>
>
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: quickstarts: permgen space

Jesse Jaggars
Done[1] and Done[2].

1: https://issues.jboss.org/browse/AS7-3424
2: https://github.com/jbossas/jboss-as/pull/1192

----- Original Message -----
Can you file a JIRA? With a patch for bonus points. ;)

On 1/23/12 3:00 PM, Jesse Jaggars wrote:

> Hey Heiko,
>
> In domain mode I've run into issues with exhausting the permgen space while working on JDR.  With the last master JDR will run into this error if there is even one deployment. I'm using the helloworld quickstart for testing.
>
> I was poking around with visualvm and noticed that on my machine the permgen size for the actual server instances have a permgen size of 85megs or so. I added the following to host.xml and each instance gets the ~256m permgen:
>
> <jvm-options>
>      <option value="-XX:MaxPermSize=256m" />
> </jvm-options>
>
> This snippet goes near the<heap>  tag in the<jvms>  section of the config.
>
> I think in the standalone config, the server gets configured from the $JAVA_OPTS environment variable so perhaps this is an accident?
>
> Jesse
>
> ----- Original Message -----
>
>
> I do constantly run into PermGen space errors when deploying the login quickstart.
> Does somebody experience the same problems?
>
>
> JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -client -d32 -Xverify:none -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC
>
>
>
> --
>
> Heiko Braun
> Senior Software Engineer
> JBoss by Red Hat
> http://about.me/hbraun
>
>
>
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev