Menu

#27 Memory Leak with MDO

open
nobody
None
5
2009-04-06
2009-04-06
John Villar
No

Hello, i'm having a memory leak with MDO whenever i open and close a TMDOQuery. The code to test this problem is rather simple:

for i:=0 to 1000 do begin
MDOQuery1.Active := true;
MDOQuery1.Active := false;
end;

The query is a simple "SELECT * FROM tabla". Whenever i open and close the query, it leaks between 400 bytes and 12 Kb, which is a lot for my scenario, where i do thousands of queries per minute.

I'm using MDO-RC2 (Downloaded from SF) with Delphi 5.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB