Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Memory leaks in DBD::Firebird

by Steve_BZ (Chaplain)
on May 26, 2015 at 10:52 UTC ( [id://1127796]=note: print w/replies, xml ) Need Help??


in reply to Memory leaks in DBD::Firebird

I found a general DBI memory leak solution here: http://stackoverflow.com/questions/13338308/perl-dbi-memory-leak

The answer seems to be the 2 lines:

print Dumper( $DBI::lasth ); $DBI::lasth ->{ChildHandles} = []; # <-- reset leaking data struct +ure

but a) it doesn't work without the first print Dumper line. Why is that? And b) it seems to be a bit sporadic. Sometimes it works and sometimes it doesn't.

Any thoughts?

I'll update you when I know more.

Regards

Steve

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found