UniLoader.LoadFromDataset loads only the amount of records set in FetchSize

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mpsuer
Posts: 3
Joined: Thu 15 Aug 2013 13:16

UniLoader.LoadFromDataset loads only the amount of records set in FetchSize

Post by mpsuer » Thu 15 Aug 2013 13:27

Hi,

I am using UniDac 5.0.2 and Delphi XE4.

I am trying to load a large Table containing a blob field with UniLoader from firebird to sqlite (with direct mode and encryption).
When I use UniLoader.Load and call mySourceTable.Next after processing a completed row in the OnGetColumnData event, everything works. Using the LoadFromDataset method, the UniLoader only processes the number of records which is set in the FetchSize property of the source table.
Setting the FetchSize to the total amount of records is no option for me because that leads to an out of memory exception.

I have read about a similar problem which is fixed according to the release log but for me it seems there's still sth. wrong.

Let me know if you need further details.

Martin

murkay
Posts: 14
Joined: Thu 08 Aug 2013 09:18

Re: UniLoader.LoadFromDataset loads only the amount of records set in FetchSize

Post by murkay » Sat 17 Aug 2013 08:54

mySourceTable.Options.QueryRecCount is true ?

AndreyZ

Re: UniLoader.LoadFromDataset loads only the amount of records set in FetchSize

Post by AndreyZ » Mon 19 Aug 2013 08:12

I cannot reproduce the problem. Please try creating a small sample to demonstrate the problem and send it to andreyz*devart*com.

Post Reply