We are creating an app that syncs 5000 calendar entries with the server. The issue is that after adding 1913 entries it failing and giving the following stack trace. What is
The CursorWindow class only supports reading 1MB of data per query:
#define MAX_WINDOW_SIZE (1024 * 1024)
(Source)
Try one or more of the following:
One way you could improve the situation is to store the last sync date on the server and only synchronize changes that have happened since that date.
SELECT *
FROM calendar
WHERE modified > 'some date'