You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "David A. Bartmess" <di...@edingo.net> on 2005/04/04 18:18:45 UTC
Memory usage of targets vs macrodefs?
I've been hired by a company that uses a LOT of macros, and currently
we're having problems with our builds because of memory issues. The JVM
is set to 1024M for Xmx and 256M for Xms, and we still can't seem to get
a build to go through successfully.
Are there any comments on the memory usage for using targets vs
macrodefs in the build?
The problem COULD lie in the wsdl generation, but we're not sure at this
point.
Thanks for any info!
--
David A. Bartmess
http://edingo.net
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Memory usage of targets vs macrodefs?
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 04 Apr 2005, David A. Bartmess <di...@edingo.net> wrote:
> Are there any comments on the memory usage for using targets vs
> macrodefs in the build?
The question usually is macrodef vs antcall and macros should consume
less memeory, not more.
In your situation I'd rather look for a memory leak in the things you
do. Do you run any <java>, <javac> or <junit> tasks? Sun's javac is
known to leak memory in certain JDKs, for example.
> The problem COULD lie in the wsdl generation, but we're not sure at
> this point.
How do you do that?
If you have any chance to fork the process into a separate Java VM, a
memory leak at least wouldn't affect your main build.
Cheers
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: Memory usage of targets vs macrodefs?
Posted by Donald Strong <ds...@agentissoftware.com>.
Hi David,
We have had memory problems with our build script in the past.
JUnit tests, of which we have about 5000, were a problem, particularly
generating the reports using XSLT.
Eventually we broke the build up by spawning Ant calls.
This later allowed us to distribute the build/test suite (about
10 hours worth) across several machines.
Regards
Donald.
-----Original Message-----
From: David A. Bartmess [mailto:dingodave@edingo.net]
Sent: Tuesday, 5 April 2005 2:19 AM
To: user@ant.apache.org
Subject: Memory usage of targets vs macrodefs?
I've been hired by a company that uses a LOT of macros, and currently
we're having problems with our builds because of memory issues. The JVM
is set to 1024M for Xmx and 256M for Xms, and we still can't seem to get
a build to go through successfully.
Are there any comments on the memory usage for using targets vs
macrodefs in the build?
The problem COULD lie in the wsdl generation, but we're not sure at this
point.
Thanks for any info!
--
David A. Bartmess
http://edingo.net
---------------------------------------------------------------------
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