[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Debug potential memory leaks
From:       Kovid Goyal <kovid () kovidgoyal ! net>
Date:       2015-04-08 3:36:13
Message-ID: 20150408032413.GB18198 () qedette
[Download RAW message or body]

See the various functions in: 
https://github.com/kovidgoyal/calibre/blob/master/src/calibre/utils/mem.py

On Tue, Apr 07, 2015 at 09:47:36PM +0200, 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.
> 
> Andreas

> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
_______________________________________________
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