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:[EMAIL PROTECTED]
** Try Jabber http://www.jabber.org
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to