hurshi / dio-http-cache

http cache lib for Flutter dio like RxCache
Apache License 2.0
274 stars 223 forks source link

Window is full: requested allocation , SQLiteQuery( 8181): exception #56

Closed hussamDana92 closed 3 years ago

hussamDana92 commented 4 years ago

Hi, what the solve this issue?

W/CursorWindow( 8181): Window is full: requested allocation 2302380 bytes, free space 2096582 bytes, window size 2097152 bytes E/SQLiteQuery( 8181): exception: Row too big to fit into CursorWindow requiredPos=0, totalRows=1; query: SELECT FROM cache_dio WHERE key="9ABF028761329D13B99AB053731C5957" and subKey="001B8DDA78776B8597AA53BFF7B36779" W/CursorWindow( 8181): Window is full: requested allocation 2302380 bytes, free space 2096582 bytes, window size 2097152 bytes E/SQLiteQuery( 8181): exception: Row too big to fit into CursorWindow requiredPos=0, totalRows=1; query: SELECT FROM cache_dio WHERE key="9ABF028761329D13B99AB053731C5957" and subKey="001B8DDA78776B8597AA53BFF7B36779" I/flutter ( 8181): DioError [DioErrorType.DEFAULT]: DatabaseException(Row too big to fit into CursorWindow requiredPos=0, totalRows=1) sql 'SELECT * FROM cache_dio WHERE key="9ABF028761329D13B99AB053731C5957" and subKey="001B8DDA78776B8597AA53BFF7B36779"' args []}

hurshi commented 4 years ago

https://github.com/tekartik/sqflite/issues/270 Maybe you're trying to store a piece of data that's too big, an image or anything?

danielweil commented 3 years ago

How would you recommned trying to deal with this problem?