[Bug 289264] Re: Memory leak in update-notifier-kde

Daniel Hahler launchpad at thequod.de
Sun May 24 19:40:10 UTC 2009


This appears to be caused by apt_check / apt_check.run().

Exchanging 
            result = apt_check.run()
with
            result = (0, 0)
in /usr/bin/update-notifier-kde prevents this growth of memory usage (there's minor growing still though - according to ps).

apt_check is in /usr/lib/update-notifier/apt_check.py (from update-
notifier-common).

I've quickly looked into it: it used apt_pkg, which may be causing it.

btw: a comment in update-notifier-kde says that the whole checkNewPackages may not be required in the future:
 checkNewPackages = True  #kpackagekit has a new package notifier but it's broken so use this

Looks like some memory profiling is required here.

** Changed in: update-notifier-kde (Ubuntu)
   Importance: Undecided => Medium

** Changed in: update-notifier-kde (Ubuntu)
       Status: Confirmed => Triaged

-- 
Memory leak in update-notifier-kde
https://bugs.launchpad.net/bugs/289264
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to update-notifier-kde in ubuntu.




More information about the kubuntu-bugs mailing list