ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: foreach task failed for out of resource error!
Date Mon, 14 Jul 2003 20:24:53 GMT
Before you start ant, create an environment variable called ANT_OPTS
this variable can contain the memory you want to allocate for ant :
example
export ANT_OPTS="-Ms64m -Mx128m"
(starting memory 64, maximum 128 )
Cheers
Antoine
----- Original Message -----
From: "Lule Chen" <llchen@nortelnetworks.com>
To: <user@ant.apache.org>
Sent: Monday, July 14, 2003 10:13 PM
Subject: foreach task failed for out of resource error!


> Hi, I try to use foreach task to do the idl compiling on a directory which
> contains more than 1000 idl files. But it failed for the java error: out
of
> resources. I am wondering is it possible to increase the maxMemorySize
> attribute like the javac task? Is there any body worked on a list contains
> more than 1000 items by using foreach task?
>
>
> Louis
>



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


Mime
View raw message