users@glassfish.java.net

Re: Multiple Ejb test classes running in Embedded glassfish ...

From: <forums_at_java.net>
Date: Tue, 20 Sep 2011 10:55:19 -0500 (CDT)

I tried setting JVM options in Maven. Now i got rid of out of memory. Thank
You!!

<build>

<plugins>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-surefire-plugin</artifactId>

<configuration>

<argLine>-XX:MaxPermSize=256m -Xmx1024M</argLine>

</configuration>

</plugin>

</plugins>

 


--
[Message sent by forum member 'Gladiator_FZ']
View Post: http://forums.java.net/node/844038