ODAC 9.1.4 EMemoryLeak

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

ODAC 9.1.4 EMemoryLeak

Post by sinys » Mon 30 Sep 2013 08:18

See example in attached file

OraQuery1.FetchAll := True;
OraQuery1.NonBlocking := True;
OraQuery1.Open; // In table more 1 million records
Close application.

EurekaLog 7.0.6.33 RC 6

Exception:
----------------------------------------------------------------------
2.2 Address: 007312C4
2.5 Type : EMemoryLeak
2.6 Message: Application has leaked memory: Total size=120; Count=2.
2.7 ID : F82A0001
2.11 Sent : 0

Leaks Information:
-----------------------------------------------------------------------------------------------------------------------------
|Methods |Details|Stack |Address |Module |Offset |Unit |Class |Procedure/Method |Line|
-----------------------------------------------------------------------------------------------------------------------------
|+Leak #1: Type=TMethodDesc; Total size=36; Count=1 |
|---------------------------------------------------------------------------------------------------------------------------|
|00000002|03 |00000000|007312C4|Project1.exe|003312C4|OraClasses|TOCIConnection|RunThread | |
|00000002|03 |00000000|00749DB0|Project1.exe|00349DB0|OraClasses|TOCIRecordSet |FetchAll | |
|00000002|03 |00000000|007426BE|Project1.exe|003426BE|OraClasses|TOCIRecordSet |EndExecFetch | |
|00000002|03 |00000000|00730D7D|Project1.exe|00330D7D|OraClasses| |WndProc | |
|00000002|03 |00000000|7643C4E7|USER32.dll |0001C4E7|USER32 | | (possible gapfnScSendMessage+463) | |
|00000002|03 |00000000|7643C5E2|USER32.dll |0001C5E2|USER32 | | (possible gapfnScSendMessage+714) | |
|00000002|03 |00000000|7643CC14|USER32.dll |0001CC14|USER32 | | (possible gapfnScSendMessage+2300)| |
|00000002|03 |00000000|7643CC6B|USER32.dll |0001CC6B|USER32 | |DispatchMessageW | |
|00000002|03 |00000000|005CE885|Project1.exe|001CE885|Forms |TApplication |ProcessMessage | |
|---------------------------------------------------------------------------------------------------------------------------|
| |
|+Leak #2: Type=TExecThread; Total size=84; Count=1 |
|---------------------------------------------------------------------------------------------------------------------------|
|00000002|03 |00000000|007312F5|Project1.exe|003312F5|OraClasses|TOCIConnection|RunThread | |
|00000002|03 |00000000|00749DB0|Project1.exe|00349DB0|OraClasses|TOCIRecordSet |FetchAll | |
|00000002|03 |00000000|007426BE|Project1.exe|003426BE|OraClasses|TOCIRecordSet |EndExecFetch | |
|00000002|03 |00000000|00730D7D|Project1.exe|00330D7D|OraClasses| |WndProc | |
|00000002|03 |00000000|7643C4E7|USER32.dll |0001C4E7|USER32 | | (possible gapfnScSendMessage+463) | |
|00000002|03 |00000000|7643C5E2|USER32.dll |0001C5E2|USER32 | | (possible gapfnScSendMessage+714) | |
|00000002|03 |00000000|7643CC14|USER32.dll |0001CC14|USER32 | | (possible gapfnScSendMessage+2300)| |
|00000002|03 |00000000|7643CC6B|USER32.dll |0001CC6B|USER32 | |DispatchMessageW | |
|00000002|03 |00000000|005CE885|Project1.exe|001CE885|Forms |TApplication |ProcessMessage | |
-----------------------------------------------------------------------------------------------------------------------------

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ODAC 9.1.4 EMemoryLeak

Post by AlexP » Tue 01 Oct 2013 07:21

Hello,

Thank you for the information. We have fixed the problem. This fix will be included in the next ODAC version

Post Reply