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()
>>> l.append(CouchDatabase("gwibber_messages", create=True))   # and now check 
>>> RSS
>>> l.append(CouchDatabase("gwibber_messages", create=True))   # and now check 
>>> RSS
>>> l.append(CouchDatabase("gwibber_messages", create=True))   # and now check 
>>> RSS
>>> l.append(CouchDatabase("gwibber_messages", create=True))   # and now check 
>>> RSS
>>> l.append(CouchDatabase("gwibber_messages", create=True))   # and now check 
>>> RSS
....

-- 
destopcouch memory consumption jumped between 0.6.1 and 0.6.2
https://bugs.launchpad.net/bugs/534171
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to