destopcouch memory consumption jumped between 0.6.1 and 0.6.2
Bug #534171 reported by
Ken VanDine
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Medium
|
Chad Miller | ||
desktopcouch (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: desktopcouch
desktopcouch.
desktopcouch 0.6.1-0ubuntu1
ipython
#RSS = 12468
from desktopcouch.
#RSS = 16012
messages = CouchDatabase(
#RSS = 16500
desktopcouch 0.6.2-0ubuntu3
ipython
#RSS = 12468
from desktopcouch.
#RSS = 17132
messages = CouchDatabase(
#RSS = 71436
Changed in desktopcouch: | |
assignee: | nobody → Chad Miller (cmiller) |
importance: | Undecided → Medium |
Changed in desktopcouch: | |
status: | New → Fix Committed |
Changed in desktopcouch (Ubuntu): | |
milestone: | none → ubuntu-10.04 |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The only change I see that looks significant between the 0.6.1 and 0.6.2 tarballs is the import of "dbus" python module. That would consume memory on first usage, but not on subsequent CouchDatabase object instances.
However, if Gwibber is using DBus already, this would not be a difference between the two versions of desktopcouch, since it's already imported.
My plot above is Resident Memory Size relative to the *number of CouchDatabase instances* (not number of records in a database, as my label implies) appended to a list. References are alive and so no CouchDatabase instances are freed.
>>> l = list() CouchDatabase( "gwibber_ messages" , create=True)) # and now check RSS CouchDatabase( "gwibber_ messages" , create=True)) # and now check RSS CouchDatabase( "gwibber_ messages" , create=True)) # and now check RSS CouchDatabase( "gwibber_ messages" , create=True)) # and now check RSS CouchDatabase( "gwibber_ messages" , create=True)) # and now check RSS
>>> l.append(
>>> l.append(
>>> l.append(
>>> l.append(
>>> l.append(
....