python-dbus 0.80.1 memory leak issue

Luka Renko lure at kubuntu.org
Wed Jan 31 00:00:29 PST 2007


On Wednesday 31. of January 2007 02:38:25 John (J5) Palmieri wrote:
> On Tue, 2007-01-30 at 23:42 +0100, Luka Renko wrote:
> > I am one of the developers of KDE Guidance Power Manager that uses
> > python-dbus to access HAL for power management (battery,
> > suspend/hibernate, CPU freq scaling). By recent upgrade of python-dbus in
> > Kubuntu Feisty to python-dbus 0.80.1 we have got several user complaints
> > about huge memory consumption of our application. Memory was used in the
> > range of 0.5 MB/minute. See bug [1] for more details.
>
> It would really help if you could distill this all down to a simple test
> case which exhibits the leak.  Thanks.

Yep, I have prepared small python script which just does queries in the while 
loop. I cannot reproduce the problem with 0.71 (5 MB stable), but 0.80.1 is 
grabbing memory very fast (10MB in couple of minutes).
Hope this helps.

Regards,
Luka


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-leak.py
Type: application/x-python
Size: 1304 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070131/2f079576/dbus-leak.bin


More information about the dbus mailing list