Memory Leak?

Rob Wolfe rw at smsnet.pl
Wed Aug 27 10:25:09 CEST 2008



Kevin McKinley napisał(a):
> So i've complete my first program with a GUI interface.  I've noticed
> that everytime  i click a tab or button the amount of memory the program
> takes up goes up by 50-200 kb.  The program will start off at 4.5mb and
> by the time i'm done it can get up over 10 or 15 mb.  The program will
> start running little slower also.  Is this a sign that i might have done
> something wrong?

You can use guppy-pe [1]_ to check what happens with memory.
In this great document you can find how to debug and fix
memory problem with Tkinter:
http://guppy-pe.sourceforge.net/heapy-thesis.pdf

.. [1] http://guppy-pe.sourceforge.net/

HTH,
Rob



More information about the Python-list mailing list