Looking further it appears that the get_addons() call in aptcache.py is mostly responsible. Removing it: === modified file 'softwarecenter/db/pkginfo_impl/aptcache.py' --- softwarecenter/db/pkginfo_impl/aptcache.py 2012-04-18 08:44:00 +0000 +++ softwarecenter/db/pkginfo_impl/aptcache.py 2012-05-31 12:57:32 +0000 @@ -665,6 +665,7 @@ :return: a tuple of pkgnames (recommends, suggests) """ logging.debug("get_addons for '%s'" % pkgname) + return
def _addons_filter(addon): """ helper for get_addons that filters out unneeded ones """
and that "fixes" the memleak.
Looking further it appears that the get_addons() call in aptcache.py is mostly responsible. /db/pkginfo_ impl/aptcache. py' db/pkginfo_ impl/aptcache. py 2012-04-18 08:44:00 +0000 db/pkginfo_ impl/aptcache. py 2012-05-31 12:57:32 +0000
: return: a tuple of pkgnames (recommends, suggests)
logging. debug(" get_addons for '%s'" % pkgname)
Removing it:
=== modified file 'softwarecenter
--- softwarecenter/
+++ softwarecenter/
@@ -665,6 +665,7 @@
"""
+ return
def _addons_ filter( addon):
""" helper for get_addons that filters out unneeded ones """
and that "fixes" the memleak.