Skip to Content.
Sympa Menu

freetds - Re: [freetds] memory leak for connect with db-lib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page