ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53885] New: there is no possibility to set via ant xml, permgen max size in JUnit task
Date Mon, 17 Sep 2012 14:03:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53885

          Priority: P2
            Bug ID: 53885
          Assignee: notifications@ant.apache.org
           Summary: there is no possibility to set via ant xml, permgen
                    max size in JUnit task
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: harufuxp@gmail.com
          Hardware: PC
            Status: NEW
           Version: unspecified
         Component: AntUnit
           Product: Ant

In below documentation of JUnit and task there is an option to set maxmemory
attribute. This attribute sets xmx memory to specified value ex. -Xmx1024m is
set when I set maxmemory="1024m"

http://ant.apache.org/manual//Tasks/junit.html

I would like to have an option to set via similar attribute max perm gen pool
size  (for example named maxpermmemory) ex.  -XX:MaxPermSize=512m is set when i
set maxpermmemory="512m"

I have a complicated situation on Team City where i am using ant to run a lot
of slow tests with code coverage. I am getting perm gen and really need such
option. 

There is no option to set forkmode to create for every test separate VM (that
would eliminate my problem) because those tests would take ages (one run about
4 days ;/)

This is very easy enhancement I think. Could you please add it to next release?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message