Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Memory leaks in DBD::Firebird [SOLVED]

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


in reply to Memory leaks in DBD::Firebird

Hi

Here is Tim Bunce's reply:

Note that the ChildHandles array holds weak references and that 'from time to time' the old slots get freed up. This isn't a leak, it just appears to be if you're not familiar with the caching that DBI does internally. You can rest assured that if the DBI did have a real leak a) a great many people would be affected and b) it would get fixed very quickly. I think 'from time to time' is every 120 or so newly created child handles.

Changing the looping of the test code to (1..500) neatly illustrates this.

Regards

Steve

  • Comment on Re: Memory leaks in DBD::Firebird [SOLVED]

Replies are listed 'Best First'.
Re^2: Memory leaks in DBD::Firebird [SOLVED]
by parv (Parson) on May 28, 2015 at 11:28 UTC

    Thanks Steve for providing the update here.

Log In?
Username:
Password:

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

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

    No recent polls found