maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (SUREFIRE-465) Add numeric option for forkmode param
Date Mon, 24 Jan 2011 10:46:57 GMT

    [ http://jira.codehaus.org/browse/SUREFIRE-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252627#action_252627
] 

Kristian Rosenvold commented on SUREFIRE-465:
---------------------------------------------

As of surefire 2.7, the provider itself controls the forking process (for forkMode != never
and forkMode!= once) through the SurefireProvider interface. It should be trivial for anyone
requiring this kind of behaviour to make their own provider, by just forking their current
provider and modify the getSuites method. Proposing as wontfix.

> Add numeric option for forkmode param
> -------------------------------------
>
>                 Key: SUREFIRE-465
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-465
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: process forking
>            Reporter: Eric Smalling
>            Priority: Minor
>             Fix For: Backlog
>
>
> PermGen memory becomes very full for large sets of junits.  So much so that unless I
turn on <forkmode>pertest</forkmode> I have to up my MaxPermGen to over 300m 
(we have 2600+ tests)
> Since that slows the tests to a crawl, and since using that much perm space causes problems
with virtual memory paging I'd like to see if an option to fork on every n-th test could be
added.
> ie: <forkmode>100</forkmode> would create a new fork for every 100 tests.
> I'll dl the source and see if i can submit a patch here too.

-- 
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

        

Mime
View raw message