ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Bartels <k...@picturesafe.de>
Subject Re: ANT 1.3 - JavaC - out of memmory, how do I specifiy more?
Date Thu, 22 Mar 2001 16:33:02 GMT
On Thu, Mar 22, 2001 at 04:10:06PM +0000, Jeffrey Porter wrote:
> I'm trying to compile a bunch of code & I get the out of memory
> message. How do I tell the javac command what memory size I want?

Hi Jeff.

Since the compiler runs in ant's VM, you have to tell ant about the memory.
I did that in my ~/.antrc :
--------------------------------------------------------------
JAVACMD="/usr/local/jdk1.3/bin/java -mx400M"
export JAVACMD
--------------------------------------------------------------

If you are using windows, I don't know where you have to place this file. I
guess, it's documented somewhere. ;^)

greetinx, Kai
-- 
"Lawful, adj. Compatible with the will of a judge having jurisdiction."
                                                             <Ambrose Bierce>
KBartels@picturesafe.de                  +                 www.picturesafe.de
picturesafe GmbH, Lueerstr. 3, D-30175 Hannover          fon:+49 511 85620 56
++ PGP Key fingerprint =  D2 B9 58 DC 36 52 DB 6C  18 CC 43 9F 68 E0 21 97 ++

Mime
View raw message