Subject Re: [firebird-support] Re: Possible memory leak in FBCLIENT.DLL
Author Stefan Heymann
What's the point in iteratively loading and freeing fbclient.dll? Even
if it leaks memory, this is no problem when the library is loaded once
at the start of your application.

How did you measure your program's memory usage?

Best Regards


> Sorry for reposting. Got no answer to this question.

> Can anyone investigate this very annoying problem?

> Best Regards,
> Bozzy.

> --- In, "Bozzy" <public1@...> wrote:
>> Hi.
>> I'm suspecting a memory leak in FBCLIENT.DLL
>> initialization/finalization. By simply loading
>> and unloading multiple times the library in a
>> test program, I see the program's memory usage
>> continuously increasing. The amount of "lost"
>> memory is about 8.9KB per cycle using FBCLIENT.DLL
>> version and 8.1KB using FBCLIENT.DLL
>> version The test program uses LoadLibrary
>> and FreeLibrary Windows APIs.
>> Can anyone investigate it or tell me where I'm wrong?
>> Sincerely,
>> Bozzy.