On 4 June 2010 15:06, Andrew Kennedy <[email protected]> wrote: > On 4 June 2010 12:07, Martin Ritchie <[email protected]> wrote: >> I've been having a look at our PermGen issues. > [...] >> One >> alternative would be to change our ant iterate task to fork a new vm >> for each module. Though this will slow the test cycle down and only >> delay the problem if it is down to the way the systests operate. > > We could, though, also set forkmode to once, which ought to just use > one VM for all the tests, and shouldn't incur a large time penalty... > > <junit fork="yes" forkmode="once" maxmemory="${test.mem}" reloading="no" > haltonfailure="${haltonfailure}" haltonerror="${haltonerror}" > failureproperty="test.failures" printsummary="on" timeout="600000" > > > <jvmarg value="-XX:MaxPermSize=256m"/>
I believe this will cause one junit vm to be forked for each module which is probably the best thing to do just now if we want to avoid setting ant_opts. Martin > Andrew. > -- > -- andrew d kennedy ? edinburgh : +44 7941 197 134 > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > -- Martin Ritchie --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
