Memory leak

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
Posts: 1
Joined: Fri 12 Sep 2008 09:48

Memory leak

Post by stephane » Fri 12 Sep 2008 10:05

I am testing DBX drivers for interbase and Firebird because the standard DBX4 drivers cause memory leak when i use the following instructions in a loop (very simple program) :;

With upscene drivers there is no leak (or very little memory leak).
With devart drivers (trial version), the leak is very big.

I would like to use Devart drivers because i use both Interbase and firebird but the memory leak block my decision.

Best regards

Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 15 Sep 2008 08:57

This memory leak is caused by reloading the driver DLL each time you reconnect. You can avoid the leak and increase connection performance by preloading the driver DLL:

Code: Select all

  LibHandle: THandle;

  LibHandle := LoadLibrary('dbexpida40.dll');


Post Reply