[jboss-as7-dev] quickstarts: permgen space

Brian Stansberry brian.stansberry at redhat.com
Mon Jan 23 16:03:32 EST 2012


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
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list