Define JAVACMD to be "java -mx1024m" or whatever it needs to be. Then when you start Ant, the JVM will use this parameter, and the javac (which runs in Ant's JVM) will benefit.
Wolfgang Reissenberger wrote: > Is it possible, to set compiler options directly in the JAVAC task? I > have the following two problems: > > 1. The compiler has run out of memory: > Compiling 990 source files to
