Re: Memory leak or memory accumulation with freetds-0.82 ctlib's ct_cmd_alloc / ct_cmd_drop?

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <1227948567.7468.1.camel@freddy>
Il giorno gio, 27/11/2008 alle 17.01 +0000, [email protected] ha
scritto:
> 
> Hi freddy77, 
> 
> 
> 
> Thanks for testing it.  I am running Red Hat Enterprise Linux 4 Update 7 -- uname -a output: 
> 
>    Linux devbox.localdomain 2.6.9-78 EL #1 Wed Jul 9 15:27:01 EDT 2008 i686 athlon i386 GNU/Linux 
> 
> and top shows all of the memory slowly being used up. 
> 
> 
> 
> Thanks, 
> 
> mtbrown88 
> 

Could you try to install valgring and execute a

valgrind --tool=memcheck --leak-check=yes --show-reachable=yes
--num-callers=20 ./ctlib_leak

it should report leaks and where they happen. Is better to compile
FreeTDS (at least) with debugging informations.

freddy77
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.