Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 38174 invoked from network); 20 Jan 2006 01:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jan 2006 01:01:50 -0000 Received: (qmail 25044 invoked by uid 500); 20 Jan 2006 01:01:39 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 24621 invoked by uid 500); 20 Jan 2006 01:01:35 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 76005 invoked by uid 99); 20 Jan 2006 00:18:37 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5.7233.31 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Performance of fileset related operations with a large number of files Date: Thu, 19 Jan 2006 16:18:02 -0800 Message-ID: <8E08C7734517F147B0E60F065B5D7155012E054F@vcebe101.NOE.Nokia.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Performance of fileset related operations with a large number of files Thread-Index: AcYdVvn2eYDpP8WCTg+vfcvOQru9xA== From: To: X-OriginalArrivalTime: 20 Jan 2006 00:18:04.0167 (UTC) FILETIME=[FAF94170:01C61D56] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I have been trialling Ant as a driver for a large scale build execution. The preparation before the build involves copying and unzipping >100,000 files spread across >20,000 directories. When using Ant's built in copy task with filesets selecting large parts of these files, a long time is spent building the list of files to copy, which also takes a lot of memory. This is my understanding of how Ant works with filesets after browsing the source.=20 Is there any way to avoid this high memory usage and time spent building a list? Has there ever been any consideration of refactoring the way Ant processes filesets and similar constructs such that each selected file is processed once read in an iterative fashion, rather than building a complete list and then processing? thanks paul --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org