I want to get a blob out of the database. I get this error. I am new to the database, what does it mean?
07-13 22:21:10.928: E/CursorWindow(13302): need to grow: mSize = 1048576, size = 3279360, freeSpace() = 1048491, numRows = 1
It seems that I just have 1MB. Is this a restriction to the database, or is my complete app currently limited to 1MB free memory?
I did not got problems inserting the blob into the databse. And I have closed the db etc afterwards… I am happy, if someone can give me some places, where I may look at.
Best Regards,
Patrick
There is a 1MB limit that applies to
CursorBLOB data. Since the limit applies toCursor, you won’t see it inserting the data, and only trying to access it.In general, putting data chunks that large into a database is a bad idea. Instead, you should save that large data out to a file on internal or external storage and save the file path or Uri into the database field instead.