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


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

        

Reply via email to