What is a maximum size of SQLite database on Android?

后端 未结 4 2041
鱼传尺愫
鱼传尺愫 2020-11-27 17:05

I have a SQLite db that size is over 2.6 GiB. (The db contains maps.) This db is used by RMaps app. When move the maps to some parts at maximum zoom, the app suddenly closes

4条回答
  •  迷失自我
    2020-11-27 17:40

    SQlite has several limits (http://www.sqlite.org/limits.html) that can come into play with any database. Have you tried vaccum;ing this particular database? It will rebuild the structures. You could have some level of corruption or you have hit one of the other compiled limits that are there to ensure that the DB doesn't become an exploit vector.

提交回复
热议问题