You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/02/23 08:06:27 UTC

[jira] Updated: (SUREFIRE-111) argLine with -Xmx option has no effect

     [ http://jira.codehaus.org/browse/SUREFIRE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated SUREFIRE-111:
----------------------------------

    Fix Version/s:     (was: 2.3)
                   2.4

> argLine with -Xmx option has no effect
> --------------------------------------
>
>                 Key: SUREFIRE-111
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-111
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.0 (2.2 plugin)
>            Reporter: Per Olesen
>             Fix For: 2.4
>
>         Attachments: OutOfMemoryError.log
>
>
> In v2.1.3 of surefire plugin, this worked fine:
> <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
>           <forkMode>pertest</forkMode>
>           <argLine>-Xmx1024M</argLine>
>         </configuration>
>       </plugin>
> </plugins>
> But after doing a "mvn -U" and getting a v2.2 of the plugin, my tests starts failing with OutOfMemoryException again. Doing a "mvn -X" shows me, that it actually has read the option:
> ....
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test' -->
> [DEBUG]   (f) argLine = -Xmx1024M
> ....
> But maybe it is not applying the argline?
> Forcing it to run with v2.1.3 makes everyting work again.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira