[gnome-db] Memory leaks



Hi,

GDA : 0.2.96
Compilation: ./configure --with-oracle --with-odbc

I use GDA for a commercial tool but my application becomes very slow 
after few minutes. When I launch 'top', I see :

71 processes: 68 sleeping, 3 running, 0 zombie, 0 stopped
CPU states:  0,0% user, 100,0% system,  0,0% nice,  0,0% idle
Mem:    94584K av,   91752K used,    2832K free,       0K shrd,    3040K buff
Swap:  192772K av,   43740K used,  149032K free                   37328K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
22809 root      20   0  5672 5672  2680 S    79,4  5,9   0:11 gda-postgres-sr

I ran memprof on my application and I saw some interesting results,
the memory leaks follows GDA API calls (I have a memprof screenshot if you want).
I extract some examples from memprof (attached file).

Last week, I asked some questions about GDA api on this mailing list, I think I
use correctly GDA (see attached file).

I can't use gda 0.8.X in my application so it's very important for me.

Bye
 

 

Attachment: source.c
Description: Binary data

Attachment: memprof.leak
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]