Embedded widgets in HList and Text leaking memory?

Michael Erskine <[email protected]> Thu, 22 Feb 2007 08:33:10 +0000
Newsgroups gmane.comp.lang.perl.tk
Organization KeTech Systems Ltd
Message-ID <[email protected]>
Hi all,

Another rough patch in my love-hate relationship (:)) with Perl/Tk:

I was enjoying the capabilities of the HList widget by constructing 
collapsible trees of embedded widgets when I noticed the memory footprint of 
my application creeping up significantly as widgets were added and not 
recovering when widgets were removed. I decided that this was not suitable 
for production and chose instead to embed windows in a ROText widget instead 
only to find that it happens there too! 

What can I do about it? I am holding no references to the embedded windows and 
they are unmapped. I can provide examples if required but it happens with the 
simplest of cases.

Regards,
Michael Erskine.

-- 
polygon:
	Dead parrot.

--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBF3VVY/5rJaz0ecJIRAnO7AJsH/bF4EvUl8fEz1Zi7tSWHK2QqPQCdEiFp
4c7RkzxvGgNCjaX6a3G/vFw=
=SSB1
-----END PGP SIGNATURE-----