S
Stan Brown
I'm trying to diagnose a memory leak in a script I'm writing Here's what I'm doing:
my $count = Devel::Leak::NoteSV($handle);
while(1)
{
# code
my $new_count = Devel::Leak::CheckSV($handle);
}
But this eventualluy causes teh script to core dump :-(
What am I doing wrong?
my $count = Devel::Leak::NoteSV($handle);
while(1)
{
# code
my $new_count = Devel::Leak::CheckSV($handle);
}
But this eventualluy causes teh script to core dump :-(
What am I doing wrong?