Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^4: Strange memory leak using just threads

by BrowserUk (Pope)
on Sep 20, 2010 at 15:43 UTC ( #860865=note: print w/replies, xml ) Need Help??

in reply to Re^3: Strange memory leak using just threads
in thread Strange memory leak using just threads

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.
  • Comment on Re^4: Strange memory leak using just threads

Replies are listed 'Best First'.
Re^5: Strange memory leak using just threads
by zentara (Archbishop) on Sep 20, 2010 at 17:08 UTC
    Please don't tell me I need to start using Microsoft Vista in order to get Perl threads working right. :-)

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      I'm pretty sure that Dave_the_m feels much the way you do, and he seems to be able to make them work, without sullying himself with the unclean :)

      Ultimately, someone who experiences the failure, needs to track down the commonalities and differences between their system, and a similar system that works.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://860865]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2018-08-19 00:17 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (186 votes). Check out past polls.