Mikael, one way to make Ant use more memory is via ANT_OPTS environment varible: export ANT_OPTS=-Xmx512M
Could you please try running ant with this -Xmx options to see whether <junitreport> works correctly. HTH Ivan --- "Mikael Petterson (KI/EAB)" <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to modify junitreport to get more > memory allocated? > How is the junitreport implemented in ant? Is there > a junit task in ant.jar? > > //Mikael > > -----Original Message----- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: den 6 april 2005 10:31 > To: Ant Users List > Subject: Re: junitreport problem > > > Mikael, > I suppose that it is neither ant nor junit problem. > Actually, <junitresport> does some XSLT > tarnsformation > on test results xml files and if you have many test > results, it is likely that the transformation runs > out > of memory. > > HTH Ivan > > --- "Mikael Petterson (KI/EAB)" > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > When I run the <junitreport> in my build and test > > sequence I get a java.lang.OutOfMemoryError. > > Is the implementation of this in ant or in junit? > I > > want to find out which part is causing the error. > > > > //Mikael > > > > __________________________________ > Do you Yahoo!? > Yahoo! Personals - Better first dates. More second > dates. > http://personals.yahoo.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
