4万行记录 FDQuery查询 Out of memory

sql server 可以查询成功

 

First chance exception at $7505D722. Exception class EOutOfMemory with message 'Out of memory'. Process aa.exe (10212)


function TFDDatSRow.AllocBuffer: PByte;
begin
  ASSERT(Table.Columns.StorageSize <> 0);
  GetMem(Result, Table.Columns.StorageSize);
  FillChar(Result^, Table.Columns.StorageSize, 0);
  // We does't need the following call, if to follow the rule - memory area
  // filled by the zero's is an empty value of any data type.
  // InternalInitComplexData(Result);
end;

posted on 2019-05-18 09:01  lypzxy  阅读(433)  评论(0编辑  收藏  举报