freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] memory leak for connect with db-lib
- Date: Mon, 31 May 2004 11:54:47 -0400
On Mon, 31 May 2004, "ldai" <ldai AT accunettech.com> wrote:
> On Thu, 27 May 2004, ZIGLIO, Frediano, VF-IT wrote
> > >
> > > Hi, everybody:
> > > I user freeTDS 0.61-2 rpm to develop db-lib programe to access
> > > MS-
> > > SQLSREVER from linux enrivement. Now I found that I'm just
> > > only to connect db
> > > and to release connection, it will cost about 200k memory and
> > > don't release
> > > every time.
...
> > You should call dbinit/dbexit only once.
...
> I modifed code to call dbinit() and dbexit() only once, but I still
> found
> the memory leak.
> I have developed software in Linux9 and accessed Ms-Sql or Sybase with
>
> freeTDS. I observered the memory leak with "top -p pid" in linux.
http://dmalloc.com/
Please give dmalloc a try. It should help track down what's wrong. If
the problem turns out to be in FreeTDS, naturally we'd want it fixed.
Patches accepted, too. :-)
--jkl
-
[freetds] memory leak for connect with db-lib,
ldai, 05/26/2004
- <Possible follow-up(s)>
-
RE: [freetds] memory leak for connect with db-lib,
ZIGLIO, Frediano, VF-IT, 05/27/2004
-
RE: [freetds] memory leak for connect with db-lib,
ldai, 05/31/2004
- Re: [freetds] memory leak for connect with db-lib, James K. Lowden, 05/31/2004
-
RE: [freetds] memory leak for connect with db-lib,
ldai, 05/31/2004
Archive powered by MHonArc 2.6.24.