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 range(1000):
t.create_line((0, i, i, 100))
t.update()
t.delete("all")
main()
#-----------------------------------------------------------------------
The "VIRT" column in top stabalizes at 18976.
I'm using the same system as you -- Ubuntu Breezy.
IMO this points a finger at something inside snack.
Jeff
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss