Re: [Tkinter-discuss] Memory leak with tkinter canvas itemconfigure

2010-11-15 Thread Cameron Laird
On Fri, Nov 12, 2010 at 04:40:23AM +0100, Michael O'Donnell wrote: . . . > I confirm your memory leakage on the code you sent, > on a Windows 7 machine running python 2.7 / Tk 8.5 > > And when one comments out the c.itemconf

Re: [Tkinter-discuss] Memory leak with tkinter canvas itemconfigure

2010-11-11 Thread John McMonagle
On 12/11/10 13:40, Michael O'Donnell wrote: > Hi John, > > I confirm your memory leakage on the code you sent, > on a Windows 7 machine running python 2.7 / Tk 8.5 > Thanks for taking the time to confirm. > And when one comments out the c.itemconfigure line, memory usage is > constant, so the

Re: [Tkinter-discuss] Memory leak with tkinter canvas itemconfigure

2010-11-11 Thread Michael O'Donnell
Hi John, I confirm your memory leakage on the code you sent, on a Windows 7 machine running python 2.7 / Tk 8.5 And when one comments out the c.itemconfigure line, memory usage is constant, so the problem is there. And looking in Tkinter.py, the itemconfigure method on a Canvas object calls _c

[Tkinter-discuss] Memory leak with tkinter canvas itemconfigure

2010-11-11 Thread John McMonagle
Hi, I have an application that configures thousands of canvas rectangle items per second and I have noticed that the memory usage leaks badly. The code below illustrates the problem: #--- import Tkinter as tk import random r = tk.Tk()