Memory Leak in ESQL/C 5.01 !
Posted in 1994
Christoph Adomeit — — source: Informix-list mailing list archive (1991-1998)
Hi, there is a memory leak somewhere in ESQL-C 5.01. You can try it out if you edit the sample "unload.ec" and put a "while (1) {" loop around the "unload" call in function main. Then you can see the available memory decreasing with some tool. If you put a $free usqlcurs before the close of the cursor the memory will not decrease anymore, but only in this example. My application still eats memory although I had put a $free there too. This was ok with ESQL/C v 4.x Any ideas ? -- Origin: It's not a bug, it's a feature !