summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-06-26 21:37:17 +0000
committerZac Medico <zmedico@gentoo.org>2009-06-26 21:37:17 +0000
commitca3f3cf17994da8925195906ce7633352f5c79ff (patch)
tree7df79288fe303ca1953a26f1264846aeccc7c042
parentdcdef4527234489e0483459712dcef585445301b (diff)
downloadportage-ca3f3cf17994da8925195906ce7633352f5c79ff.tar.gz
portage-ca3f3cf17994da8925195906ce7633352f5c79ff.tar.bz2
portage-ca3f3cf17994da8925195906ce7633352f5c79ff.zip
Use clear_caches() to free memory inside action_depclean().
svn path=/main/trunk/; revision=13700
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 88c7dd4e9..19de2a3e1 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -602,8 +602,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
calc_depclean(settings, trees, ldpath_mtimes,
myopts, action, args_set, spinner)
- import gc
- gc.collect()
+ clear_caches(trees)
if rval != os.EX_OK:
return rval