Think about Loose Coupling | |
PerlMonks |
Re^4: Strange memory leak using just threadsby BrowserUk (Patriarch) |
on Sep 20, 2010 at 15:43 UTC ( [id://860865]=note: print w/replies, xml ) | Need Help?? |
First, his script gained memory and your's didn't. I observe the same behavior. So a script written 1 way in Perl may leak, and written another may not His original doesn't leak here either. All my changes do is run more threads concurrently in an attempt to amplify any problem should it exist. On my system, it doesn't. But Vista and Slackware are fundamentally different systems. Hence my attribution to the platform. If the problem was inherent in the (common) Perl sources, it would manifest itself everywhere. It doesn't. So then you have to start looking at the differences. See also, (indirectly via 860733), Dave_the_m's comment. I'm pretty sure he runs some version of *nix or other. So, maybe it is not the platform, but how Perl is compiled for a given platform. Just attributing it to threads isn't very useful. Or is that information from you already outdated? 4 1/2 years, 2 major releases; 7 or 8 subversion releases. Yes. I would think it is fair to say: that is out of date. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|