I have detected a memory leak occuring on each data request (when more than one table’s data are requested at once) in the TDataAbstactService.InternalGetData(). I believe the TDataAbstractService.ClearExchangeStruct is missing a Finalize() call as any subsequent InitExchangeStruct call clears all managed references (dynamic arrays and strings) without their proper cleanup.
See code in DataAbstractService_Impl.pas:
procedure TDataAbstractService.ClearExchangeStruct(aRec: PDAServiceExchangeData);
begin
aRec^.lOrderBy.Free;
// <FIX>>>
Finalize(aRec^); // aRec needs to be finalized to avoid memory leak
// <<<FIX>
end;
I have noted that these problems are not yet fixed in release 1573, although they are fairly simple fixes. I would like to know in what release the fixes will be published.
Is there any date when we can expect the release of .1575? We are approaching the regular update date for our product and I would need to know if I can count on patches as part of the official release, or if we will keep our own patches in this build.