Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^5: Make Perl use real malloc

by ikegami (Patriarch)
on Mar 15, 2011 at 19:11 UTC ( #893408=note: print w/replies, xml ) Need Help??

in reply to Re^4: Make Perl use real malloc
in thread Make Perl use real malloc

I believe that in those examples, Perl is actually leaking the scalars, along with a lot of other stuff -- look at the "still reachable" stat. It's doing this intentionally, by exiting immediately rather than painstakingly deallocating everything first.

The lesson to take was that there is no difference in the valgrind output between the two runs, which demonstrates that it can't detect the scalars that I leaked in the second run.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2023-06-06 16:20 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (29 votes). Check out past polls.