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

GitHub | obilodeau | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Crash Reported on Google Play: android.database.CursorWindowAllocationException

    GitHub | 6 months ago | obilodeau
    android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. # Open Cursors=793 (# cursors opened by this proc=793)
  2. 0

    Crash Reported on Google Play: android.database.CursorWindowAllocationException

    GitHub | 6 months ago | obilodeau
    android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. # Open Cursors=793 (# cursors opened by this proc=793)

    Root Cause Analysis

    1. android.database.CursorWindowAllocationException

      Cursor window allocation of 2048 kb failed. # Open Cursors=793 (# cursors opened by this proc=793)

      at android.database.CursorWindow.<init>()
    2. Android Platform
      Activity.managedQuery
      1. android.database.CursorWindow.<init>(CursorWindow.java:104)
      2. android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
      3. android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:162)
      4. android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:156)
      5. android.content.ContentResolver.query(ContentResolver.java:317)
      6. android.app.Activity.managedQuery(Activity.java:1706)
      6 frames
    3. org.tomdroid
      NoteManager.getNoteId
      1. org.tomdroid.NoteManager.getNoteId(NoteManager.java:438)
      1 frame
    4. org.tomdroid.ui
      Tomdroid$2.transformUrl
      1. org.tomdroid.ui.Tomdroid$2.transformUrl(Tomdroid.java:992)
      1 frame
    5. Android Platform
      Linkify.addLinks
      1. android.text.util.Linkify.makeUrl(Linkify.java:397)
      2. android.text.util.Linkify.addLinks(Linkify.java:377)
      3. android.text.util.Linkify.addLinks(Linkify.java:325)
      3 frames
    6. org.tomdroid.ui
      Tomdroid$1.handleMessage
      1. org.tomdroid.ui.Tomdroid.showNote(Tomdroid.java:944)
      2. org.tomdroid.ui.Tomdroid.access$0(Tomdroid.java:904)
      3. org.tomdroid.ui.Tomdroid$1.handleMessage(Tomdroid.java:976)
      3 frames
    7. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:99)
      2. android.os.Looper.loop(Looper.java:137)
      3. android.app.ActivityThread.main(ActivityThread.java:4446)
      3 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame