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: Out of memory
Date Tue, 06 Oct 2009 11:09:49 GMT
 Hello,

I have two memory problems:

1.In the XSLT task I get:
java.lang.OutOfMemoryError: PermGen space

I increased MaxPermSize
In a few hours I will know if this helped, but it is not a real solution.


2.The second problem disappeared, after increasing the memory to 2000m.
It happened this time (I earlier had to increase the memory) in the non standard pack200 Task:

D:\DopeBuildBase\Build\DopeBuildServer\dopebuildwar.xml:356: java.lang.OutOfMemoryError

This task made also a few problems, when I used it first.
I check the documentation for help, or is pack200 also included in the next Ant version?

Thanks for your help!

I'm not sure if I can profile this, but maybe I try.


Greetings Jürgen

-- 
Jürgen Knuplesch 
-----Ursprüngliche Nachricht-----
Von: Stefan Bodewig [mailto:bodewig@apache.org] 
Gesendet: Dienstag, 6. Oktober 2009 11:59
An: user@ant.apache.org
Betreff: Re: Out of memory

On 2009-10-06, Knuplesch, Juergen <Juergen.Knuplesch@icongmbh.de> wrote:

> Hello,

> Thanks for your answer!
> Good to know, that there are known problems.

Unfortunately they may not be.

> I already fork the junit tests.

Then the change I pointed at won't affect you since the classloader leak only applies to non-forked
tests.

> Memory eater is also junitreport (especially for 2200 tests) etc.,

Ouch.  I don't think we have any means to address that.

> all the XSLT stuff needs a lot of memory

that should be eligible to be garbage collected once the task are done.
If you had any way to attach a memory profiler to it so we could see what is occupying the
memory, that would be great.

> and of course Tasks like jar.

which shouldn't keep too much memory around once it is done either.

> So I have to wait for Ant 1.7.2 or create one out of the trunk...

That would be 1.8.0 and I'm afraid it wouldn't help.

Stefan

---------------------------------------------------------------------
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