ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Java compiler runs out memory
Date Tue, 12 Nov 2002 17:32:03 GMT

----- Original Message -----
From: "P.S.Mahesh" <psmahesh@cisco.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Tuesday, November 12, 2002 8:54 AM
Subject: Java compiler runs out memory


> Hi folks.
>
> How can I make a recursive compilation without ant or the javac compiler
> throwing a memory exception.

you must have a really big and complex set of source files, and maybe you
are using java1.3 or earlier; that javac version leaked more

>         <javac srcdir="${src.dir}" destdir="${build.dir}">

try

<javac srcdir="${src.dir}" destdir="${build.dir}" debug="true" fork="true"
/>

Also, if you do have a lot of java files, try switching to the jikes
compiler, that is much faster



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message