Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Max size of an Android app's in-memory SQLite database?

Tags:

android

sqlite

How large can be the database of my Android app? Is there a limit?

For performance and security reasons, I don't want to store the database on the SD card.

like image 581
Nicolas Raoul Avatar asked Sep 14 '10 09:09

Nicolas Raoul


1 Answers

As far as reading up on it would suggest, there is no hard limit on the size of sqlite db on the internal storage other than the normal limits, ie. what is spare.

However some people are reporting exceptions occurring on larger databases, though I have yet to see anyone work out why.

Sadly the internal function to report max size isn't useful for this either, it seems set at 1TB.

like image 105
Zulaxia Avatar answered Nov 20 '22 09:11

Zulaxia