Re: [Tkinter-discuss] create and delete canvas items / memory

2006-04-12 Thread gabriel
Thanks Jeff, for the reply. Your program stabilizes around the same value on my machine, so indeed it is likely something in Snack. Too bad, I really like this toolbox. I'll try to contact the author, and perhaps in the meantime look for an other solution. All best, Gabriel

Re: [Tkinter-discuss] create and delete canvas items / memory

2006-04-12 Thread Jeff Epler
I've never used snack. However, I wrote a program which repeatedly creates and then destroyes 1000 "line" objects on a canvas: #--- def main(): import Tkinter t = Tkinter.Canvas() t.pack() while 1: for i in

[Tkinter-discuss] create and delete canvas items / memory

2006-04-12 Thread gabriel
Hi, I am writing an application where I create and delete a lot of canvas items. I use Snack ( http://www.speech.kth.se/snack/ ) to create the canvas items, which are spectrograms of short sounds. Each time I delete all canvas items (spectrograms) and recreate the very same series of items, mem