<div dir="ltr">Hi Phil,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 9:55 PM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 07/04/2015 8:47 pm, Andreas Pakulat wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm having a small 'systray' application that monitors a jenkins service<br>
and it seems there's some kind of memory leak, especially on MacOSX. After<br>
having it run for a while (with the machine going to sleep now and again)<br>
it starts eating quite some memory - if I understand top/ActivityMonitor<br>
correctly - and amd wondering now how I'd best debug a PyQt application's<br>
memory consumption.<br>
<br>
So what tools do you guys usually use to debug such memory leaks? I've<br>
tried valgrind on Linux but there's no good hint there, possibly also due<br>
to the way Python works.<br>
</blockquote>
<br></div></div>
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.</blockquote><div><br></div><div>I'll check that option if I can determine its not my own code hanging on to objects it shouldn't hang onto anymore...</div><div><br></div><div>Andreas</div></div></div></div>