SQLite have a very small boot area (~ 250-400Kb). When SQLite works with databases on disk, because of this, due to lack of memory, it does not even measure the file size (by default, a database can contain about 1 TB of data in it). And, as you said, this is a permanent data warehouse.
If the database is stored in memory, your application consumes
memory = database file size + small overhead
In addition, you will have a number of restrictions with queries that you can execute in the database in memory (I cannot remember the time on the street, but you cannot use transactions and vacuum)
SQLite , , .