- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试添加到 android 上的 sqllite DB 时,我看到了上述错误。我正在使用 cloudant 库。这是堆栈跟踪:
2019-07-17 18:04:48.292 5522-5753/org.iprd.identity E/SQLiteQuery: exception: Row too big to fit into CursorWindow requiredPos=0, totalRows=1; query: SELECT docs.docid, docs.doc_id, revid, sequence, current, deleted, parent, json FROM revs, docs WHERE docs.docid=? AND revs.doc_id=docs.doc_id AND revid=? ORDER BY revs.sequence LIMIT 1
2019-07-17 18:04:48.302 5522-5522/org.iprd.identity E/DatabaseImpl: Failed to create document
java.util.concurrent.ExecutionException: android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=0, totalRows=1
at java.util.concurrent.FutureTask.report(FutureTask.java:123)
at java.util.concurrent.FutureTask.get(FutureTask.java:193)
at com.cloudant.sync.internal.documentstore.DatabaseImpl.get(DatabaseImpl.java:1084)
at com.cloudant.sync.internal.documentstore.DatabaseImpl.create(DatabaseImpl.java:925)
最佳答案
What I was thinking of doing is to store the image in the deviceitself and just store the path in the DB.
Is there some compression we can do to the image to reduce its filesize?
Is it possible to tune some db setting to ensure that it can handlelarger image sizes?
关于java - SQLiteBlobTooBigException : Row too big to fit into CursorWindow while writing to DB,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57107489/
我得到 android.database.sqlite.SQLiteBlobTooBigException 仅适用于华为家庭设备,Android 9 和 10 Crash by devices 在 上
当我尝试添加到 android 上的 sqllite DB 时,我看到了上述错误。我正在使用 cloudant 库。这是堆栈跟踪: 2019-07-17 18:04:48.292 5522-5753/
我只在 android 9 中遇到异常,重新安装后一切看起来都不错, 异常: android.database.sqlite.SQLiteBlobTooBigException: Row too bi
可以将 6MB 的文本文件直接导入我的数据库。但是,无法提取文本,因为 CursorWindow 有 2MB 的限制。 (我应该使用文件,但有些用户已经遇到这个问题,我需要阅读整个文本才能将其放入文件
我是一名优秀的程序员,十分优秀!