Author: heiko.braun(a)jboss.com
Date: 2008-06-11 16:41:58 -0400 (Wed, 11 Jun 2008)
New Revision: 7493
Modified:
stack/metro/trunk/modules/testsuite/pom.xml
Log:
surefire gc settings added: resolves permGen space problem
Modified: stack/metro/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/metro/trunk/modules/testsuite/pom.xml 2008-06-11 18:13:49 UTC (rev 7492)
+++ stack/metro/trunk/modules/testsuite/pom.xml 2008-06-11 20:41:58 UTC (rev 7493)
@@ -17,7 +17,8 @@
<!-- Properties -->
<properties>
<surefire.security.args>-Djava.security.manager
-Djava.security.policy=src/test/etc/tst.policy</surefire.security.args>
- <surefire.jdwp.args>-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</surefire.jdwp.args>
+ <surefire.jdwp.args>-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</surefire.jdwp.args>
+ <surefire.gc.args>-XX:MaxPermSize=128m</surefire.gc.args>
<test.archive.directory>${project.build.directory}/test-libs</test.archive.directory>
<test.classes.directory>${project.build.directory}/test-classes</test.classes.directory>
<test.resources.directory>${project.build.directory}/test-resources</test.resources.directory>
@@ -219,7 +220,7 @@
</property>
</activation>
<properties>
- <surefire.jvm.args>${surefire.security.args}
${surefire.jdwp.args}</surefire.jvm.args>
+ <surefire.jvm.args>${surefire.security.args} ${surefire.jdwp.args}
${surefire.gc.args}</surefire.jvm.args>
</properties>
</profile>
<profile>
@@ -230,7 +231,7 @@
</property>
</activation>
<properties>
- <surefire.jvm.args>${surefire.security.args}</surefire.jvm.args>
+ <surefire.jvm.args>${surefire.security.args}
${surefire.gc.args}</surefire.jvm.args>
</properties>
</profile>
Show replies by date