ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lule Chen" <>
Subject RE: foreach task failed for out of resource error!
Date Tue, 15 Jul 2003 14:02:22 GMT
Hi, Antoine:

After I set it as the following:

ANT_OPTS="-ms64m -mx128m"; export ANT_OPTS

It's working fine. But I still have questions to ask:

1. Is there limitation on max size it can be set?

2. After I set this ANT_OPTS, do I have to set memoryMaximumSize for the
javac task? Previously, if I don't set this memoryMaximumSize, I got the out
of resources error for the javac task as well.

3. Are there other ANT_OPTS that I can set? Where can I find those options?

Thanks again!

-----Original Message-----
From: Antoine Levy-Lambert [] 
Sent: July 14, 2003 4:25 PM
To: Ant Users List
Subject: Re: foreach task failed for out of resource error!

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
----- Original Message -----
From: "Lule Chen" <>
To: <>
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
> 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:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message