the memory for Ant VM can be set in ANT_OPTS
environment variable like this:

set ANT_OPTS=-Xmx512m

(alternatively you can this parameter directly to 
your ant.bat)

if this not is working, then the first thing
I'd do is run javac without Ant and see if it
runs out of memory, and if not - you can make
<javac> fork another VM, 
and if yes - it has nothing to do with Ant

~Alexei



> -----Original Message-----
> From: Wade Peeler [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 18, 2002 5:00 PM
> To: [EMAIL PROTECTED]
> Subject: Running out orf memory
> 
> 
> We're trying to compile a project consisting of several hundred source
> files, and we're running out memory.  We've tried passing arguments to
> the VM, like -Xms512M and -Xmx512M but that doesn't seem to 
> be working.
> Does anyone know how to increase memory to the VM so that Ant doesn't
> run out of memory, or if there's something else that's 
> causing us to run
> out?
> 
> Wade
> 
> *************************************
> 
> This email may contain privileged or confidential material 
> intended for the named recipient only.
> If you are not the named recipient, delete this message and 
> all attachments.  
> Any review, copying, printing, disclosure or other use is prohibited.
> We reserve the right to monitor email sent through our network.
> 
> *************************************
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to