Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: Detecting memory leaks.

by Steve_BZ (Chaplain)
on May 04, 2015 at 16:53 UTC ( [id://1125593]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Detecting memory leaks.
in thread Detecting memory leaks.

Oh, for a minute I got my hopes up!

I did:

$mu->record('at i_Booking exit'); $mu->dump(); print "Find cycle >>>>>>>>"; find_cycle($booking_dlg); print "<<<<<<<<<< Find cycle"; return $booking_dlg;

And the

find_cycle($booking_dlg);

Did nothing.

Oh Well.

Regards

Steve.

Replies are listed 'Best First'.
Re^5: Detecting memory leaks.
by Anonymous Monk on May 05, 2015 at 00:05 UTC

      Hi Anon,

      I'm looking at the synopsis for Devel::Leak,

      use Devel::Leak; ... setup code my $count = Devel::Leak::NoteSV($handle); ... code that may leak Devel::Leak::CheckSV($handle);

      What is $handle

      Regards

      Steve

        I'm looking at the synopsis for Devel::Leak, ... What is $handle

        Its a scalar :p

        use Devel::Leak; warn Devel::Leak::NoteSV(my $handle); {my$a={};$a->{a}=$a;} warn Devel::Leak::CheckSV($handle ); __END__ 6599 at - line 2. new 003F9A6C : new 003F9B1C : 6601 at - line 4.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found