--- [EMAIL PROTECTED] wrote: 
> I am using ANT to build our source code for the first time. I am getting
> the following error. Any idea how do I increase the heap size when using
> ANT ?
> 
>  [javac] ^
>  [javac] The compiler has run out of memory.  Consider using the
> "-J-mx<number>" command line option to increase the maximum heap size.
> 
> BUILD FAILED
> 
> Appreciate any help.

>From the "Running Ant" section of the user manual:
  ANT_OPTS - command-line arguments that should be passed to the JVM.
  For example, you can define properties or set the maximum Java
  heap size here. 

(Probably deserves an FAQ entry, though.)

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

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

Reply via email to