Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Memory leaks in DBD::Firebird

by Steve_BZ (Chaplain)
on May 26, 2015 at 10:52 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2023-01-30 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?