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.