Erdal
Erdal

Reputation: 1502

Memory consumption by SQLite?

SQLite on Android allows you to specify that your databse is "in-memory" by passing null for the database name SQLiteOpenHelper

My question now is related to memory usage: does this use up my precious heap memory that is allowed for my app?

Upvotes: 3

Views: 706

Answers (1)

Kurtis Nusbaum
Kurtis Nusbaum

Reputation: 30825

Since your sqlite database is dynamically allocated, yes it's stored on the heap.

Upvotes: 4

Related Questions