Hi,
I tested version 2.7.27 and have same memory leaks problems.
Tested with C++Builder Berlin update 2 + CodeGuard
Tested with C++Builder Berlin update 2 + AQTime
Tested with Delphi Berlin update 2 + EurekaLog 7.50
Here is scrrenshot of EurekaLog memory leak report:
Here is a code of my sample project:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
var
lq:TLiteQuery;
begin
lq:=TLiteQuery.Create(nil);
lq.Connection:=Database;
lq.SQL.Add('SELECT * FROM List2');
lq.Open;
lq.Close;
lq.Free;
ShowMessage('OK');
end;
Here is TLiteConnection options from Form.dfm:
object Database: TLiteConnection
Database = 'C:\Data\core.db'
ClientLibrary = 'C:\sqlite\sqlite3.dll'
Options.BusyTimeout = 10
Options.ReadUncommitted = True
Options.ForceCreateDatabase = True
LoginPrompt = False
Left = 257
Top = 78
end
Here is DDL of List2 table wich used in sql query:
Code: Select all
CREATE TABLE List2 (
ID INTEGER PRIMARY KEY AUTOINCREMENT
NOT NULL,
Email VARCHAR (100) NOT NULL,
FullName VARCHAR (100),
zzz VARCHAR (25),
nnn VARCHAR (50),
bb VARCHAR (50),
zz INTEGER,
kkk DATE,
ddde VARCHAR (50)
);
{$DEFINE NOSTATIC} has been added to LiteDac.inc
LiteDAC compiled using \LiteDAC\Source\Delphi24\make.bat
If you need any additional details - ask me !
Hope you can fix problem soon !
Here is a full EurekaLog memory leak report:
https://yadi.sk/i/2Hs1kNLH39NfNR