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?? |
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
In Section
Seekers of Perl Wisdom
|
|