Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Detecting memory leaks.

by Steve_BZ (Chaplain)
on May 04, 2015 at 16:53 UTC ( #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? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2023-02-04 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (30 votes). Check out past polls.

    Notices?