Devel::Leak usage question

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,366
Latest member
IanCulpepp

Latest Threads

Top