Bug with FireDAC datasets
Bug with FireDAC datasets
Hello,
Delphi 10 Seattle win32, VirtualDAC 10.0, Win 10 x64
When using VirtualDAC with FireDAC datasets I get memory leaks, sometimes AV at memory manager. Sometimes closing main form only hide appl, appl remains in memory.
Samle appl is sent to [email protected] with subject Sometimes closing main form only hide appl, appl remains in memory.
TIA and best regards
Branko
Delphi 10 Seattle win32, VirtualDAC 10.0, Win 10 x64
When using VirtualDAC with FireDAC datasets I get memory leaks, sometimes AV at memory manager. Sometimes closing main form only hide appl, appl remains in memory.
Samle appl is sent to [email protected] with subject Sometimes closing main form only hide appl, appl remains in memory.
TIA and best regards
Branko
Re: Bug with FireDAC datasets
Hello,
We can't reproduce the problem. Please describe the steps to reproduce the situation. Also specify the memory manager you are using for detecting memory leaks.
We can't reproduce the problem. Please describe the steps to reproduce the situation. Also specify the memory manager you are using for detecting memory leaks.
Re: Bug with FireDAC datasets
Hello,
1) Samle appl was sent to [email protected]. Just click on "Open / close" button and close appl.
2) Default Delphi 10 MM
1) Samle appl was sent to [email protected]. Just click on "Open / close" button and close appl.
2) Default Delphi 10 MM
Re: Bug with FireDAC datasets
Specify the memory manager you are using for detecting memory leaks.
Re: Bug with FireDAC datasets
As I have already answered - memory leaks are detecting by default Delphi 10 memory manager. Memory leaks detecting is enabled with code
I get the report below:
An unexpected memory leak has occurred. The unexpected small block leaks are:
1 - 12 bytes: TObject x 1
13 - 20 bytes: TFDExpressionManager x 1, UnicodeString x 143
21 - 28 bytes: UnicodeString x 144
29 - 36 bytes: EAccessViolation x 2, UnicodeString x 42
37 - 44 bytes: TFDExpressionFunctionDesc x 119, UnicodeString x 12
45 - 52 bytes: UnicodeString x 4
61 - 68 bytes: Unknown x 162
93 - 100 bytes: TFDStringList x 2
173 - 188 bytes: UnicodeString x 2
1645 - 1804 bytes: Unknown x 1
Code: Select all
initialization
System.ReportMemoryLeaksOnShutdown := True;
An unexpected memory leak has occurred. The unexpected small block leaks are:
1 - 12 bytes: TObject x 1
13 - 20 bytes: TFDExpressionManager x 1, UnicodeString x 143
21 - 28 bytes: UnicodeString x 144
29 - 36 bytes: EAccessViolation x 2, UnicodeString x 42
37 - 44 bytes: TFDExpressionFunctionDesc x 119, UnicodeString x 12
45 - 52 bytes: UnicodeString x 4
61 - 68 bytes: Unknown x 162
93 - 100 bytes: TFDStringList x 2
173 - 188 bytes: UnicodeString x 2
1645 - 1804 bytes: Unknown x 1
Re: Bug with FireDAC datasets
As I wrote you earlier, the issue is not reproduced when using either the standard memory manager or FastMM, or EurekaLog. We use Seattle with Update 1.
P.S. Judging by the log you provided, AV and MemoryLeak occur in FireDAC
P.S. Judging by the log you provided, AV and MemoryLeak occur in FireDAC
Re: Bug with FireDAC datasets
Me too.AlexP wrote:We use Seattle with Update 1.
Are you launch the demo appl I sent you?
I get memory leaks and AV also with Delhi XE7 and XE4!
Re: Bug with FireDAC datasets
The issue is not reproduced on your project in any of studios. Please provide also the dproj project file. The case may occur due to the project settings.
Re: Bug with FireDAC datasets
Sent to support*devart*com
Re: Bug with FireDAC datasets
Please send your dproj again to alexp*devar*com.
Re: Bug with FireDAC datasets
I found what causes memory leaks: Embarcadero\Studio\17.0\bin\SQLite3.dll
Re: Bug with FireDAC datasets
Check this behavior on the standard SQLite library: http://sqlite.org/download.html
Re: Bug with FireDAC datasets
Yes, with standard sqlite.dll no memory leaks. I just wanted inform you where / why memory leeks occours.
Re: Bug with FireDAC datasets
When developing and testing our products to work with SQLite we use only standard SQLite library available on the official project site : http://sqlite.org