A SQLiteCursor
fills a “window” with data as you navigate through it. My recollection is that the window size is 1MB, but I can’t point you to specific code that backs up that recollection. So, for small queries, the net effect is that the SQLiteCursor
will hold the entire result set in memory, once you start accessing rows and columns.