Try a smaller query. You are returning over 1MB of data. On Mon, Oct 4, 2010 at 6:33 AM, Kenneth WON <kenneth...@gmail.com> wrote: > Hi , all, > I got the following error: > > ERROR/CursorWindow(6924): need to grow: mSize = 1048576, size = 63, > freeSpace() = 15, numRows = 11460 > ERROR/CursorWindow(6924): not growing since there are already 11460 > row(s), max size 1048576 > ERROR/CursorWindow(6924): The row failed, so back out the new row > accounting from allocRowSlot 11459 > ERROR/Cursor(6924): Failed allocating fieldDir at startPos 0 row 11459 > > I just select all the data from SQLite, then call the method > c.moveToFirst() and the error occurred. > How can I solve the problem? > Thank you for your help!
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://skillsmatter.com/go/os-mobile-server -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en