[jboss-as7-dev] quickstarts: permgen space

Jesse Jaggars jjaggars at redhat.com
Mon Jan 23 16:00:14 EST 2012


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


More information about the jboss-as7-dev mailing list