Page 1 of 1
In-Memory DB size limits
Posted: Sat 11 Jan 2014 11:08
by Yahia
Hi,
I am planning to work with SQLite "in-memory" DBs in one application (x64)...
Some users might have a lot of data exceeding 2-4 GB.
Is it possible to have in-memory SQLite DBs bigger than 4 GB?
Thanks in advance.
Best Regards
Yahia El-Qasem
Re: In-Memory DB size limits
Posted: Tue 14 Jan 2014 13:27
by Shalex
dotConnect for SQLite doesn't put any size limitation on the SQLite database. Please contact the SQLite support team to find out the in-memory DB size limit.
Re: In-Memory DB size limits
Posted: Tue 14 Jan 2014 13:54
by Yahia
I suspect there is a misunderstanding... pure native SQLite can do this.
BUT I read that dotconnect is 100% managed and works with "native preloaded DLL" it might introduce additonal limits - for .NET does not allow for a single object > 2 GB (even in x64) and thus I am asking here...
Re: In-Memory DB size limits
Posted: Wed 15 Jan 2014 16:32
by Shalex
We do not create explicitly any object in our code which size would be equal to the size of the database file. You may encounter the "single object size" limitation only if you create this object in your code.