ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject AW: AW: Out of memory
Date Tue, 06 Oct 2009 11:42:33 GMT
Hello Steve,

I had my problems with junitreport before....

This time the PermGenSpace error happens with saxon.
For this XSLT I had to use saxon.
In my build I use Saxon and for junitreport the standard VM xsl processor,

How do I tell junitreport to use Saxon or Xalan?
I did not find an option (in your book for ANT 1.6.5) as in XSLT.
I thought xalan is the standard xsl processor in ANT?

Greetings Jürgen


-- 
Jürgen Knuplesch 
-----Ursprüngliche Nachricht-----
Von: Steve Loughran [mailto:stevel@apache.org] 
Gesendet: Dienstag, 6. Oktober 2009 13:02
An: Ant Users List
Betreff: Re: AW: Out of memory

Knuplesch, Juergen wrote:
> Hello,
> 
> Thanks for your answer!
> Good to know, that there are known problems.
> 
> I already fork the junit tests. I even have parted the tests into three parts, because
of earlier challenges.
> Memory eater is also junitreport (especially for 2200 tests) etc., all 
> the XSLT stuff needs a lot of memory and of course Tasks like jar.
> 
> I hopefully (the build is running in the moment I write this) solved the problem by using
a 64Bit Java on a 64Bit Windows machine and increasing the memory. This is of course no solution,
but it will probably work.

It's junitreport that is killing you : the post-run transform, not the tests themselves.

* switch to Xalan, not Sun's built in xsl engine
* In a 64 bit Java 6u15 and up, you can ask for half-sized pointers, XX:+UseCompressedOops
  That cuts the memory footprint of every java instance down to almost that of 32 bit jvms,

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message