Memory Leak?

K

Kevin McKinley

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?
 
R

Rob Wolfe

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Number of objects grows unbouned...Memory leak 1
memory leak? 0
Memory "leak"? 4
Looping-related Memory Leak 7
Why does this leak memory? 3
memory leak 26
PyCObject & malloc creating memory leak 4
Memory leak 16

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top