Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 21134 invoked from network); 8 Apr 2003 15:12:14 -0000 Received: from junior.lgc.com (134.132.72.99) by daedalus.apache.org with SMTP; 8 Apr 2003 15:12:14 -0000 Received: from lgchvw01.lgc.com (lgchvw01.lgc.com [134.132.93.107]) by junior.lgc.com (8.11.7/8.11.3) with SMTP id h38FBA506385 for ; Tue, 8 Apr 2003 10:11:10 -0500 (CDT) Received: from 134.132.93.152 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Tue, 08 Apr 2003 10:10:38 -0500 Received: by lgchexchbh.ad.lgc.com with Internet Mail Service (5.5.2653.19) id <2JRPCYAA>; Tue, 8 Apr 2003 10:10:37 -0500 Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: JDK1.4.1 and java Date: Tue, 8 Apr 2003 10:10:37 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 [mailto:markus.dettori@wuerth-phoenix.com] 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 memory with the following JVM parameter the compiler runs in: -XX:MaxPermSize=150m then it should work. the 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 sun.tools.javac.Main itself. 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, Markus