garbage collection and Tkinter
Brian E Gallew
geek+ at cmu.edu
Thu Jun 1 14:08:04 EDT 2000
I've got a Tkinter script that runs for a long time, creating and
destroying many windows (it's a zephyr client, if that means anything
to you). Over time, this process grows to be excessivly large
(30-40MB before I get around to killing it). I've satisfied myself
that it isn't a leak in my C module, as if I just do file logging it
doesn't seem to get so big.
To finally get around to the point of all this rambling: is there a
relatively easy way to examine the garbage collector to see why it is
or is not collecting things? I would not be at all surprised to find
circular loops in my Tk widgets, but I don't know where to find them...
--
=====================================================================
| JAVA must have been developed in the wilds of West Virginia. |
| After all, why else would it support only single inheritance?? |
=====================================================================
| Finger geek at cmu.edu for my public key. |
=====================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 266 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20000601/387bd3da/attachment.sig>
More information about the Python-list
mailing list