[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Debug potential memory leaks
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2015-04-07 19:55:28
Message-ID: 153e49ad081790f74582806952e0794b () riverbankcomputing ! com
[Download RAW message or body]
On 07/04/2015 8:47 pm, Andreas Pakulat wrote:
> Hi,
>
> I'm having a small 'systray' application that monitors a jenkins
> service
> and it seems there's some kind of memory leak, especially on MacOSX.
> After
> having it run for a while (with the machine going to sleep now and
> again)
> it starts eating quite some memory - if I understand
> top/ActivityMonitor
> correctly - and amd wondering now how I'd best debug a PyQt
> application's
> memory consumption.
>
> So what tools do you guys usually use to debug such memory leaks? I've
> tried valgrind on Linux but there's no good hint there, possibly also
> due
> to the way Python works.
You could try a debug version of Python that will track objects. If that
shows objects are not being collected then it is probably a PyQt
problem. Otherwise it might be more likely to be a Qt problem.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic