ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: JDK1.4.1 and java
Date Tue, 08 Apr 2003 15:10:37 GMT
How about divide and conquer???

Can't you find a more manageable subset of these sources to compile first
into a JAR, then another that uses that JARs, etc... Nobody can write that
many sources so that its inter-dependencies forces you to compile it all as
a whole! These 11K+ sources must be breakable into several independent
modules (or with clean non-circular dependencies), which would be much
easier to compile (in the proper dependencies order).

Any team writing so many Java sources which are indeed interdependent need
to be fired on the spot ;-) --DD

-----Original Message-----
From: Markus Dettori [] 
Sent: Tuesday, April 08, 2003 10:01 AM
To: Ant Users List
Subject: Re: JDK1.4.1 and java

Tim Gordon <> scribbled earlier on Tuesday, April 08,
2003 4:42 PM:

> 11000 files... yes, that's quite a few...

Yep and very annoying if the javac complains after 30 minutes of
compile activities that there's not memory left ;-)

therefore I will start the javac via java and give him a special amout of
with the following JVM parameter the compiler runs in:
then it should work.

the <compilerarg> thing is only a list for the javac itself not the jvm the
arg is running with.
I just tried it, but the args are only for the class
<memorysize =1GB> but this is not enough and setting it to a higher value
ends with
a "could not allocate such a big heap" or similar.

so far,

View raw message