Memory Leak?

Discussion in 'Python' started by Kevin McKinley, Aug 27, 2008.

  1. 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?
     
    Kevin McKinley, Aug 27, 2008
    #1
    1. Advertising

  2. Kevin McKinley

    Rob Wolfe Guest

    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
     
    Rob Wolfe, Aug 27, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Y3liZXJzdHJpa2U=?=

    datagrid memory leak?

    =?Utf-8?B?Y3liZXJzdHJpa2U=?=, Jan 3, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    478
    =?Utf-8?B?Y3liZXJzdHJpa2U=?=
    Jan 3, 2005
  2. s.subbarayan

    Dynamic memory allocation and memory leak...

    s.subbarayan, Mar 18, 2005, in forum: C Programming
    Replies:
    10
    Views:
    739
    Eric Sosman
    Mar 22, 2005
  3. Richard Heathfield

    Leak or no leak ??

    Richard Heathfield, Jul 10, 2006, in forum: C Programming
    Replies:
    4
    Views:
    370
    Richard Heathfield
    Jul 10, 2006
  4. cham
    Replies:
    5
    Views:
    786
  5. Mark Probert
    Replies:
    4
    Views:
    349
    Mark Probert
    Feb 9, 2005
Loading...

Share This Page