Friday, February 17, 2012

Re: [android-developers] SQLite database maximum size

will you Test in emulator ? 

2012/2/17 HighFlyer <aleksvas@gmail.com>
Hello to everyone.
We have a big SQLite database file (~11.6 Mb) that ships with
application. All is good except strange problem on several devices
(Samsung Galaxy S and Galaxy 580, both running Android 2.2). System
can't open such db file. Logcat poor with only one error message:

> sqlite returned: error code = 11, msg = database corruption found by source line 40107

After that failure database file is deleted. So all data lost.
Deleting several rows and reducing db file size to 11Mb solves
problem.
On other tested devices running 2.3, 3.x and 4.x version does not have
such problem.

So the question is:
Does there are any documented limits to databases (size or rows count)
for SQLite that ships with Android 2.2 and previous versions?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
                                              - Marcelo Henrique -
  "Se não puder se destacar pelo talento, vença pelo esforço." (Dave Weinbaum)

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment