Re: Potential dbi memory leak.

Steve Cookson - gmail <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Hi Again

On 26/05/15 10:13, Tim Bunce wrote:
>      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.
Could I suggest that "/array holds weak references/" is changed to 
/"array holds a history of weak references"

/Or something to explain the idea of a growing hash.  I misinterpreted 
your reply at first.

Thanks again,

Regards

Steve.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.