title: Cursor window allocation of 2048 kb failed with rxjava adapter on room
body: <p>I'm using Room with RxJava2 version 1.0.0 in my app. Previously I was using Realm and all was fine. Now when I've migrated on Room I get random rare crashes with similar stacktrace:</p>
  
  <pre><code>Fatal Exception: android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. 
         at android.database.CursorWindow.&lt;init&gt;(CursorWindow.java:109)
         at android.database.CursorWindow.&lt;init&gt;(CursorWindow.java:100)
         at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
         at android.database.sqlite.SQLiteCursor.clearOrCreateWindow(SQLiteCursor.java:301)
         at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:139)
         at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:133)
         at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:197)
         at android.database.AbstractCursor.moveToNext(AbstractCursor.java:245)
         at android.arch.persistence.room.InvalidationTracker.run(InvalidationTracker.java:372)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
         at java.lang.Thread.run(Thread.java:841)
  </code></pre>
  
  <p>Some times its even don't have room mentions in there. I'm not using any Cursors directly, only thru Room and 3rd party libraries (which I haven't changed during migration).</p>
  
  <p>I've checked Room generated code and it all seems to close Cursors properly.</p>
  
  <p>Any thoughts on what is going on and how I can debug this crashes?</p>