From: | Ake Nilson <agn [...] Allagraf.com> |
Subject: | POE, Tk and the memory leak |
Date: | Wed, 24 Aug 2005 16:18:15 +0100 |
To: | "'rcaputo [...] cpan.org'" <rcaputo [...] cpan.org> |
Hi Rocco,
We are currently working on a server project, using POE (which is
excellent
- has saved a lot of problems for us) and Tk (which sometimes drives me
completely nuts, not being a long-term Perl person...) :-)
However, there does seem to be a small problem with memory leakage when
running POE and Tk together. Even the very simple counter program at
http://poe.perl.org/?POE_Cookbook/Tk_Interfaces loses, on my machine,
between 8 and 40 k per second...(!) - which is the same as for
running the
rather more complex server script we are working on.
I am trying to use the latest possible versions of everything,
POE::Loop::Tk
is v. 1.45 2005/04/25, and POE::Loop::TkCommon is v. 1.14 2005/06/29 (I
quote these two because I see there is reference to patching earlier
versions of them on the web). The operating system is Windows (both
NT and
XP - same effect on both) and I use ActiveState Perl (5.8).
No doubt others have pointed this out - is there an answer? Or should
I go
and bug the Tk developers instead?
Would be immensely grateful for any help.
Kind regards
Ake