projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f5b48
)
repoman: discard xmatch caches from previous pkgs
author
Zac Medico
<zmedico@gentoo.org>
Mon, 2 Jan 2012 07:34:30 +0000
(23:34 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 2 Jan 2012 07:34:30 +0000
(23:34 -0800)
This should help prevent repoman from consuming too much memory when
checking multiple packages or the whole tree.
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 5fc2de00bc591938907173065450fd48816431a0..1933489ef25bf45820937885cea43febf129c0ab 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1195,6
+1195,8
@@
if options.if_modified == "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=[]
catdir,pkgdir=x.split("/")
checkdir=repodir+"/"+x