I'm searching for memory leaks in an application.  Devel::LeakTrace::Fast
has pointed me at DBI::_new_handle(). I was wondering if anyone can
point out that I'm using bad versions, or if I'm mislead by the tool
(Devel::LeakTrace::Fast).

I searched the mailing list and found:

    http://www.mail-archive.com/[email protected]/msg28092.html

Which seems to match what I'm seeing, except for the fact that
I'm not seeing the statement handles released after 120 calls.

So let me explain.  I'm seeing a memory leaks in a daemon that
interacts with a MySQL database.  I'm using Devel::LeakTrace::Fast
to help track down the leaks.  During a 15 minutes sample it says that
there where 148 "leaked" SVs which were created by DBI::_new_handle()

First, has anyone else tried using Devel::LeakTrace::Fast? Are its
results reliable?  Realizing that a report about leaks happening is an
application that I don't provide code for is not a valid report.  What
is the minimum script I should use to try and provide a mechanism
to reproduce?

Second, is the 120 handle cache size modifiable by the user?

Here are the versions of software involved:
    DBI 1.604
    DBD::mysql 4.006
    perl 5.8.8
    Devel::LeakTrace::Fast 0.11

Thank you in advance.
-- 
James R. Leu
[EMAIL PROTECTED]

Attachment: pgpayvcOQIzRL.pgp
Description: PGP signature

Reply via email to