|We don't bite newbies here... much|
threads causing memory leakby holli (Monsignor)
|on Sep 11, 2010 at 12:51 UTC||Need Help??|
holli has asked for the
wisdom of the Perl Monks concerning the following question:
Please share your wisdom with me in the question of why this code
is leaking memory like there is no morning. This code is called every 30 seconds, and adds up roughly 20 megs of memory at each call. That of course leads to out of memory crashes pretty quickly.
Making it non threaded, the problem goes away, but then my Win32::GUI gets unresponsive.
Thanks for your time.
Btw, this is on Windows XP, using the latest Strawberry Perl.
You can lead your users to water, but alas, you cannot drown them.