android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. # Open Cursors=682 (# cursors opened by this proc=682)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by obilodeau
, 1 year ago
Cursor window allocation of 2048 kb failed. # Open Cursors=682 (# cursors opened by this proc=682)
via GitHub by mfietz
, 1 year ago
Cursor window allocation of 2048 kb failed. # Open Cursors=2 (# cursors opened by this proc=2)
via google.com by Unknown author, 1 year ago
Cursor window allocation of 2048 kb failed. # Open Cursors=502 (# cursors opened by this proc=502)
via google.com by Unknown author, 1 year ago
Cursor window allocation of 2048 kb failed. # Open Cursors=731 (# cursors opened by this proc=731)
via google.com by Unknown author, 1 year ago
Cursor window allocation of 2048 kb failed. # Open Cursors=524 (# cursors opened by this proc=524)
android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. # Open Cursors=682 (# cursors opened by this proc=682)
at android.database.CursorWindow.(CursorWindow.java:104)
at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:139)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:133)
at android.content.ContentResolver.query(ContentResolver.java:388)
at android.content.ContentResolver.query(ContentResolver.java:313)
at org.tomdroid.NoteManager.getNoteByGuid(NoteManager.java:89)
at org.tomdroid.sync.SyncService.prepareSyncableNotes(SyncService.java:230)
at org.tomdroid.sync.web.SnowySyncService.access$8(SnowySyncService.java:1)
at org.tomdroid.sync.web.SnowySyncService$3.run(SnowySyncService.java:261)
at org.tomdroid.sync.SyncService$1.run(SyncService.java:169)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
14 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
3 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.