Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Hunting for a memory leak

by Anonymous Monk
on Aug 08, 2012 at 03:13 UTC ( #986125=note: print w/replies, xml ) Need Help??


in reply to Re^2: Hunting for a memory leak
in thread Hunting for a memory leak

Thank you for this. I believe I need to start doubting the CPAN modules a little more.

Tk modules are notorious for leaks -- also , if the module builds any kind of tree, and grepping the source for "weak" returns no hits, 97/100 its leaking :)

Replies are listed 'Best First'.
Re^4: Hunting for a memory leak
by perldough (Sexton) on Aug 08, 2012 at 14:19 UTC

    That's interesting. Would you mind explaining why that is?

    Perldough

      That's interesting. Would you mind explaining why that is?

      Because that is just the way it is :) Trees means circular references (memory leak unless you take some steps), and Tk encourages both circular references and closures -- just look in the bug cue for any Tk- distribution, you'll see lot of reports of leaks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986125]
help
Chatterbox?
[james28909]: well, i can stream from ffmpeg to mpc-hc with udp://127.0.0.1: port. guess i just need to grab these packets and slap a rtp header on it and encrypt it with linsodium and send it.
[james28909]: in the rtp header, there is a nonce, i can just make this any number and increment it per packet?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-05-23 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?