ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: -J option <javac> task question
Date Wed, 30 Apr 2003 06:01:49 GMT
On Tue, 29 Apr 2003, Nisha Pillai <npillai@teja.com> wrote:

>    Thanks for your input. This worked.

Strange, as it shouldn't work.  If setting ANT_OPTS solves your issue,
then you are not forking javac.  The maxmemory attribute will only
apply if you set fork to true.

If you don't fork, javac will run in the same Java VM instance that is
running Ant and your only option is to increase the memory size for
this VM - which in turn can only be done before Ant has been started
(via ANT_OPTS or ~/.antrc).

Stefan

Mime
View raw message