Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Strange memory leak using just threads

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


in reply to Strange memory leak using just threads

Which version of threads?

I don't see any leak using perl 5.010001 and threads: 1.76.

  • Comment on Re: Strange memory leak using just threads

Replies are listed 'Best First'.
Re^2: Strange memory leak using just threads
by MnkyBrain (Novice) on Sep 19, 2010 at 22:24 UTC

    My thread version seems to be 1.67. I upgraded to 1.77, and the problem still occurs.

    I did add print $threads::VERSION,"\n"; so I was sure it was using the correct module.

    I also tried it on another system with 5.8.8 installed and threads 1.07, and got the same result.

      This would appear to be a platform specific thing. Not particularly helpful, but it might allow you to look for a solution in the right place; eg. outside of Perl/threads.

      Perhaps there is a later version of the pthreads libraries for your system? Or known bugs within the version you have?


      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.
        Just to clarify, the "another system" I tried it on (with 5.8.8 and threads 1.07) was a mac running leopard.

        I also tried it on a snow leopard install with perl 5.10 (darwin-thread-multi-2level) and threads 1.67.

        Also, both mac's are intel (possibly obviously), but the linux box is a 64bit AMD machine.

        I'm seeing the issue everywhere I've tried it so far, so it doesn't seem to be a platform specific issue. Sorry I didn't make that clear in my last post.

        ps. I just tried it on another debian lenny box that's basically the same as the one above, but it's intel, and had the same issue.

        I may give cent and ubuntu a shot later tonight and see if I also see the problem there.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://860734]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-07-21 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (448 votes). Check out past polls.

    Notices?