Yan Zhu wrote:

> umm, seems like I do have the testharness module, how do I use it
> to collect data? or where is a quick doc for it?

perldoc DBD::Informix::TestHarness

You previously asked "Is 1.00.PC2 good, bad, indifferent", or words to that effect.  
It is the current official version, so there isn't an official later version for you 
to upgrade to -- in that sense, you are out of luck in that there isn't a fixed 
version available to you.  I do have, as I mentioned, a couple of other 
pseudo-versions with some bug-fixes in them.  However, I'm not convinced they are the 
leak you are running into -- I hope I'm wrong, but I'm not optimistic.

Which version of ESQL/C are you using?  It should be the version from CSDK 2.70.UC1 
(aka ESQL/C 9.51.UC1), but most recent versions should be OK.

FWIW:  I use Solaris 7 (SunOS 2.7) on a Sparc, so once you've got the reproduction 
nailed, it should be trivial for me to reproduce.
One interesting thing is that you have a 7.31 server; that means the problem is not in 
the way that the new (9.x-only) data types are handled; I wouldn't have been wholly 
surprised to find leaks in some of that code.  Are you using blobs?

> Jonathan Leffler wrote:
> > Yan Zhu wrote:
> > > well, I downloaded all the newest dbi and dbd modules, upgraded my perl
> > > to 5.6, the leaks are still there! :(
> > >
> > > John Cuson wrote:
> > > > not to say that your problem can be similarly addressed, but [...]
> > > >
> > > > >>> Yan Zhu <[EMAIL PROTECTED]> 03/28/02 02:13PM >>>
> > > >
> > > > This has been brought up before. I am using perl dbi for informix  and
> > > > it leaks out 2 gig of memory after running for several hours!
> > > >
> > > > which dbi version fix the dreaded memory leaks?
> >
> > Dear Yan Zhu,
> >
> > Which memory leak are you running into?  I know of one, normally triggered by 
>preparing a statement and never executing it.  Spending two hours doing prepares 
>without executing sounds implausible, so you probably have a new one I've not heard 
>about before.  So, please can you reduce your example to a test case that reproduces. 
> There is even a test harness function in the DBD::Informix:TestHarness module for 
>showing whether there is a memory leak or not.  And there are copious instruction on 
>how to report problems -- your original
> > message doesn't include the information that's needed.
> >
> > If you have version 1.00.PC2, then you are almost out of luck.  I do have a couple 
>of unofficially released later versions, one of which has a fix to the memory leak I 
>alluded to above.  But, without any reproduction information at all, it is kinda hard 
>to help.
> >
> > Key information would be versions of:
> >     Perl
> >     DBI
> >     DBD::Informix
> >     ESQL/C
> >     IDS
> > It would be helpful to include platform and o/s version.  Please read the README 
>file and use the BugReport script.
> >
> > --
> > Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED])
> > Guardian of DBD::Informix 1.00.PC2 -- see http://dbi.perl.org/
> > #include <disclaimer.h>




--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED])
Guardian of DBD::Informix 1.00.PC2 -- see http://dbi.perl.org/
#include <disclaimer.h>


Reply via email to