Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 38207 invoked from network); 22 Sep 2008 12:41:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Sep 2008 12:41:22 -0000 Received: (qmail 78937 invoked by uid 500); 22 Sep 2008 12:41:18 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 78901 invoked by uid 500); 22 Sep 2008 12:41:18 -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 78890 invoked by uid 99); 22 Sep 2008 12:41:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2008 05:41:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2008 12:40:17 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id m8MCeIxi030181 for ; Mon, 22 Sep 2008 14:40:18 +0200 Received: from z011101.bk.fin.local ([130.11.7.101]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 Sep 2008 14:40:19 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011101.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 Sep 2008 14:40:19 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: DirectoryScanner Memory Consumption Date: Mon, 22 Sep 2008 14:40:18 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B55D6FD0C@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DirectoryScanner Memory Consumption Thread-Index: Ackcr6VT9oA0FVhnRQalAvmUTRBCpwAAI1pA References: <48D790CF.8020907@gmail.com> From: To: X-OriginalArrivalTime: 22 Sep 2008 12:40:19.0087 (UTC) FILETIME=[5F06C1F0:01C91CB0] X-Virus-Checked: Checked by ClamAV on apache.org I try it for you sending an email to dev-unsubscribe-avijayr=3Dgmail.com@ant.apache.org as this is the form to use according to http://ant.apache.org/mail.html = "How to unsubscribe your old email address"=20 So maybe you'll get a confirmation. Jan > -----Urspr=FCngliche Nachricht----- > Von: Vijay Aravamudhan [mailto:avijayr@gmail.com]=20 > Gesendet: Montag, 22. September 2008 14:34 > An: Ant Developers List > Betreff: Re: DirectoryScanner Memory Consumption >=20 > hi, > I would like to unsubscribe from this list. I have tried=20 > multiple times=20 > with the automated unsubscribe process - but it doesn't work. Please=20 > remove me from this list. >=20 > thanks, > Vijay >=20 > On 09/22/2008 03:07 AM, Stefan Bodewig wrote: > > On Fri, 19 Sep 2008, Stefan Bodewig wrote: > > > > =20 > >> Something in File.getCanonicalPath seems to consume memory that > >> isn't easily reclaimed by the GC, and I have no idea what we could > >> do about it. > >> =20 > > > > except increasing the number of times we are allowed to traverse > > directories of the same name before we check whether they=20 > are part of > > a symlink cycle. svn revision 697692 bumps it to five=20 > instead of one. > > > > Just to show where we've come now (and I think I'll stop at this > > point): > > > > small setup > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > matchall using pathconvert > > -------------------------- > > > > Ant 1.6.5 1 min 30 s ~ 19 MB > > Ant 1.7.0 3 min 53 s ~ 24 MB > > Ant 1.7.1 9 s ~ 21 MB > > svn rev 697073 3 s ~ 26 MB > > svn rev 697692 2 s ~ 19 MB > > > > matchall using resourcecount > > ---------------------------- > > > > Ant 1.7.0 1 min 25 s ~ 21 MB > > Ant 1.7.1 8 s ~ 14 MB > > svn rev 697073 2 s ~ 17 MB > > svn rev 697692 2 s ~ 16 MB > > > > big setup > > =3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > matchall using resourcecount > > ---------------------------- > > > > Ant 1.7.1 14 min 2 s ~ 55 MB > > svn rev 697073 53 s ~ 78 MB > > svn rev 697692 22 s ~ 64 MB > > > > "small" is 10000 directories and about 22000 files spread=20 > accross four > > levels, "big" is one level more and an order of magnitude=20 > of files and > > dirs more. > > > > The numbers differ a bit from the last I've posted because I had > > ANT_OPTS=3D-Xmx512m set last time, this time svn rev 607073 consumes > > less memory but takes longer while I'm reasonably happy=20 > with speed and > > memory consumption of svn rev 697692. > > > > Overall we've roughly gone from quadratic time to linear time when > > scanning directories - and we even scan small directory trees faster > > than 1.7.1. > > > > Stefan > > > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > > For additional commands, e-mail: dev-help@ant.apache.org > > > > =20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org