continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: Test failure on trunk
Date Thu, 22 Mar 2007 23:36:54 GMT
Jesse McConnell wrote:

> most people I know just add the following to their environment variables
> 
> MAVEN_OPTS=-Xmx512m

It shouldn't be necessary to have to patch your environment to work 
around bugs in unit tests, if the tests need 512MB of RAM, then the 
surefire plugin should be configured to allocate 512MB of RAM.

+1 to this:

>> >        <plugin>
>> >          <groupId>org.apache.maven.plugins</groupId>
>> >          <artifactId>maven-surefire-plugin</artifactId>
>> >          <configuration>
>> >            <argLine>-Xmx512m</argLine>
>> >          </configuration>
>> >        </plugin>

Regards,
Graham
--

Mime
View raw message