[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Attempting to reduce the memory footprint of my PyQt5 application
From: Xavion <xavion.0 () gmail ! com>
Date: 2016-09-15 8:11:02
Message-ID: CAKnx8Y4YMR9EBsU5vypu4J7hW1PBJXrh3p9+z95v5tQAdLtQ6A () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I've just updated the ticket <http://bugs.python.org/issue28165> I created
on the Python bug tracker earlier. My most recent post lists the code
fragment I'm using (i.e. via a timer, not a loop). The one before that
details how I'm going about monitoring the memory (i.e. from a Bash script).
I just incorporated your three "gc.collect()" calls and it made no
difference. Starting the processes from the main event loop (rather than
in a QThread) didn't help either. Everything was fine with the QThread
anyway: disabling the process call kept the memory constant.
I'll have a go at using Valgrind tomorrow.
Thanks again for all of your help, guys.
[Attachment #5 (text/html)]
<div dir="ltr"><div class="gmail_extra"><div class="gmail_signature"><div><font \
size="2" color="#000000">I've just updated <a \
href="http://bugs.python.org/issue28165">the ticket</a> I created on the Python bug \
tracker earlier. My most recent post lists the code fragment I'm using (i.e. \
via a timer, not a loop). The one before that details how I'm going about \
monitoring the memory (i.e. from a Bash script).</font></div><div><font size="2" \
color="#000000"><br></font></div><div><font size="2" color="#000000">I just \
incorporated your three "</font><font color="#000000">gc.collect()" calls \
and it made no difference. Starting the processes from the main event loop (rather \
than in a QThread) didn't help either. Everything was fine with the \
</font><span style="color:rgb(0,0,0)">QThread anyway</span><font color="#000000">: \
disabling the process call kept the memory constant.</font></div><div><font \
color="#000000"><br></font></div><div><font color="#000000">I'll have a go at \
using Valgrind tomorrow.</font></div><div><font \
color="#000000"><br></font></div><div><font color="#000000">Thanks again for all of \
your help, guys.</font></div><div><font color="#000000"><br></font></div></div> \
</div></div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://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