Add a gc.collect() call inside iter_owers(), since people are reporting
authorZac Medico <zmedico@gentoo.org>
Sun, 25 Jul 2010 18:23:28 +0000 (11:23 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 Jul 2010 18:23:28 +0000 (11:23 -0700)
commit9caa9b5a7a84c7288f9cda98a4ecf85d10aa30c1
tree36c60968feec91f66df6f9f461ce78c07770c194
parent9a715a4754a88ee25aacbd92e3ea272e41962c5e
Add a gc.collect() call inside iter_owers(), since people are reporting
high memory usage there. We should really only use this function to search
for a small number of files. Larger numbers of files should use a different
algorithm that will ensure that each CONTENTS file is only parsed once.
pym/portage/dbapi/vartree.py