Memory leak in update-notifier-kde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier-kde (Ubuntu) |
Fix Released
|
High
|
Jonathan Riddell | ||
Bug Description
Binary package hint: update-notifier-kde
I've seen a memory leak in update-notifier-kde package. Each time you update the package list with the aptitude update method, the memory used by the process increases but never decreases then.
How-to-reproduce :
-------
DO: launch the update-notifier-kde process
DO: run top or htop and sort processes upon the used memory.
DO: launch several times an aptitude update command.
You can run the following command as root in order to save time :
for i in `seq 1 50`; do sudo aptitude update; done
EXPECT: the memory used by the update-notifier-kde process increases a lot, more than 100 MB used at the end of the for loop !!!
The issue should have a very low impact in most of the cases, but for a production machine that runs 24/7 this can become resource-critical.
Release used :
Kubuntu 8.10
Package revision : 0.9
I suspect the issue from coming from one of the following lines (my knowledge of Python is NONE ;-) ) :
Line 103: self.new_dist = metaRelease.
Line 124: self.new_dist = metaRelease.
Changed in update-notifier-kde: | |
status: | New → Confirmed |
Changed in update-notifier-kde: | |
assignee: | nobody → jr |
Changed in update-notifier-kde (Ubuntu): | |
status: | Triaged → Fix Released |
I see the same problem.. I thing, after four updates is 90MB too much for one small application.