[maemo-developers] [maemo-developers] memory in leak in the python bindung of dbus
From: Fabio Forno fabio.forno at gmail.comDate: Fri Dec 22 17:15:12 EET 2006
- Previous message: [maemo-developers] Alternative input method
- Next message: [maemo-developers] automatic cache erase at update in RSS reader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, when I run the following program on the 770 (latest os release and python mistral packages) the allocated memory continues encreasing at a constant rate, util the process dies. I think there are only two options: a memory leak of the python bindings for dbus or a programming error ;) import dbus import dbus.decorators import dbus.glib from dbus.types import * import gobject bus = dbus.SystemBus() icd_obj = bus.get_object("com.nokia.icd", "/com/nokia/icd") icd = dbus.Interface(icd_obj, "com.nokia.icd") def got_reply(*args): icd.get_statistics( reply_handler = got_reply, error_handler = got_reply ) got_reply() mainloop = gobject.MainLoop() mainloop.run() -- Fabio Forno, PhD Istituto Superiore Mario Boella Jabber ID: xmpp:ff at kamin.polito.it ** Try Jabber http://www.jabber.org
- Previous message: [maemo-developers] Alternative input method
- Next message: [maemo-developers] automatic cache erase at update in RSS reader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]