ant-user mailing list archives

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

----- Original Message -----
From: "P.S.Mahesh" <>
To: "Ant Users List" <>
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}">


<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:   <>
For additional commands, e-mail: <>

View raw message