<div dir="ltr"><div class="gmail_extra"><div><div><font size="2" color="#000000">Yes, I can confirm that there's no leak when it's called in that fashion.  However, there is one when the timer is (re)called from within a loop.  I've just posted a new comment to <a href="http://bugs.python.org/issue28165" target="_blank">the ticket</a> and attached code/output samples (there) to illustrate my point.</font></div><div><font size="2" color="#000000"><br></font></div><div><font size="2" color="#000000">While we're there, I found another leak in my program (manually).  It's to do with overwriting of icons that are attached to widgets in memory.  </font><font color="#000000">Specifically, I'm talking about the <i>QMainWindow</i> and <i>QSystemTrayIcon</i> classes.  I'm sure there are other cases; I just haven't looked for them.</font></div><div><font size="2" color="#000000"><br></font></div><div><font size="2" color="#000000">Each time I give either one of those a new icon (at runtime), my memory footprint increases proportionately.  Trying to suck the old icon out first and deleting it manually doesn't help.  Is Qt or PyQt likely to blame for this lack of automatic cleanup, and how easy would it be to fix?</font></div><div><font size="2" color="#000000"><br></font></div></div>
</div></div>