in reply to Subroutine Memory Leak
I think the problem is that you keep creating new Label objects. Since you don't destroy them, they just keep accumulating until you close the dialog. You should change the text of the existing label instead of creating a new Label every time autorefresh is called. I'm not familiar with Tk, so I can't help you with the syntax.
By the way, it's polite to say "Update: Added code snippet." or something of the kind when you update a node. It avoids confusion when existing replies refer to the original node content.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Subroutine Memory Leak
by gopika77 (Initiate) on Jul 31, 2006 at 05:31 UTC | |
by shmem (Chancellor) on Jul 31, 2006 at 06:45 UTC | |
by gopika77 (Initiate) on Jul 31, 2006 at 05:34 UTC |