lingochamp / lingochamp/FileDownloader
CursorWindowAllocationException
@rantianhua is already working on this.
Since Sep 10, 2019.
- Dominant language
- Java
- Stars
- 11.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
### log
```text
android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed.
at android.database.CursorWindow.(CursorWindow.java:108)
at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
at android.database.sqlite.SQLiteCursor.clearOrCreateWindow(SQLiteCursor.java:309)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:147)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:141)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:219)
at android.database.AbstractCursor.moveToNext(AbstractCursor.java:268)
at com.liulishuo.filedownloader.database.SqliteDatabaseImpl.find(SqliteDatabaseImpl.java:83)
at com.liulishuo.filedownloader.database.SqliteDatabaseImpl.update(SqliteDatabaseImpl.java:158)
at com.liulishuo.filedownloader.database.RemitDatabase.syncCacheToDB(RemitDatabase.java:100)
at com.liulishuo.filedownloader.database.RemitDatabase.ensureCacheToDB(RemitDatabase.java:212)
at com.liulishuo.filedownloader.database.RemitDatabase.updateError(RemitDatabase.java:219)
at com.liulishuo.filedownloader.download.DownloadStatusCallback.handleError(DownloadStatusCallback.java:441)
at com.liulishuo.filedownloader.download.DownloadStatusCallback.onErrorDirectly(DownloadStatusCallback.java:189)
at com.liulishuo.filedownloader.download.DownloadLaunchRunnable.run(DownloadLaunchRunnable.java:333)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.