From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RhcSJ-0000hz-F5 for garchives@archives.gentoo.org; Mon, 02 Jan 2012 07:37:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4449021C022; Mon, 2 Jan 2012 07:37:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0BD8721C022 for ; Mon, 2 Jan 2012 07:37:05 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 825061B4003 for ; Mon, 2 Jan 2012 07:37:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id DDCD580042 for ; Mon, 2 Jan 2012 07:37:04 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/repoman X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: bbd0a415c33d46c168f38a59bf1bc031a586c5e2 Date: Mon, 2 Jan 2012 07:37:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1b69fa9f-b2cd-4c6d-b6d9-eeab6bf44cd4 X-Archives-Hash: 005537c94badbd1653b0630c761c952b commit: bbd0a415c33d46c168f38a59bf1bc031a586c5e2 Author: Zac Medico gentoo org> AuthorDate: Mon Jan 2 07:34:30 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Jan 2 07:34:30 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dbbd0a415 repoman: discard xmatch caches from previous pkgs This should help prevent repoman from consuming too much memory when checking multiple packages or the whole tree. --- bin/repoman | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bin/repoman b/bin/repoman index 5fc2de0..1933489 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1195,6 +1195,8 @@ if options.if_modified =3D=3D "y": for x in effective_scanlist: #ebuilds and digests added to cvs respectively. logging.info("checking package %s" % x) + # save memory by discarding xmatch caches from previous package(s) + arch_xmatch_caches.clear() eadded=3D[] catdir,pkgdir=3Dx.split("/") checkdir=3Drepodir+"/"+x