Calling ts.clean() releases memory used by dependency checks and
ordering. Depending on the transaction size, this can be tens of megs.
And yes its dumb that callers need to bother with such issues...
---
cli.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cli.py b/cli.py
index 7237f6c..5db39b7 100644
--- a/cli.py
+++ b/cli.py
@@ -566,6 +566,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
self.populateTs(keepold=0) # populate the ts
self.ts.check() #required for ordering
self.ts.order() # order
+ self.ts.clean() # release memory not needed beyond this point
# put back our depcheck callback
self.dsCallback = dscb
--
1.7.4
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel