From ca3f3cf17994da8925195906ce7633352f5c79ff Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Jun 2009 21:37:17 +0000 Subject: [PATCH] Use clear_caches() to free memory inside action_depclean(). svn path=/main/trunk/; revision=13700 --- pym/_emerge/actions.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.26.2