Memory Leak?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin McKinley

    Memory Leak?

    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?




  • Rob Wolfe

    #2
    Re: Memory Leak?



    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:


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

    HTH,
    Rob

    Comment

    Working...