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?
Memory Leak?
Collapse
This topic is closed.
X
X
-
Kevin McKinleyTags: None -
Rob Wolfe
Re: Memory Leak?
Kevin McKinley napisa³(a):You can use guppy-pe [1]_ to check what happens with memory.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?
In this great document you can find how to debug and fix
memory problem with Tkinter:
.. [1] http://guppy-pe.sourceforge.net/
HTH,
Rob
Comment