Memory leaks in LiteDac 2.7.26
Posted: Sat 31 Dec 2016 02:04
Hi,
TLiteQuery leaks memory each Open/Close !
See screenshot of AQTime profiler:
Steps to reproduce:
Drop TLiteConnection and TLiteQuery on the form
LiteConnection.Options.Direct:=false;
LiteQuery.Sql.Add('SELECT * FROM SomeTable');
LiteQuery.Open;
LiteQuery.Close;
Close program. See Allocation profiler results.
Important note: LiteDac compiled with {$DEFINE NOSTATIC} because of this problem:
viewtopic.php?f=48&t=34243
Enviroment: RAD Studio Berlin Update 2, AQTime Pro 8.21
TLiteQuery leaks memory each Open/Close !
See screenshot of AQTime profiler:
Steps to reproduce:
Drop TLiteConnection and TLiteQuery on the form
LiteConnection.Options.Direct:=false;
LiteQuery.Sql.Add('SELECT * FROM SomeTable');
LiteQuery.Open;
LiteQuery.Close;
Close program. See Allocation profiler results.
Important note: LiteDac compiled with {$DEFINE NOSTATIC} because of this problem:
viewtopic.php?f=48&t=34243
Enviroment: RAD Studio Berlin Update 2, AQTime Pro 8.21