System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 715e21d5001ec3da7648a9f97b31087e6155ad8d
Title: Memory issue
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: Integration_Via_PInvoke Resolution: Works_As_Designed
Last Modified: 2014-05-08 17:20:20
Version Found In: 1.0.92.0
User Comments:
anonymous added on 2014-03-31 12:03:53:
Hi,

I use System.Data.SQLite 1.0.92 on Windows mobile 6.5 (Compact framework).

I have four databases, 3 was open in readonly mode and 1 was use for work.

After a few queries, i have the folowing errors SQLite error on exec sql command -  Inner Exception:  Error Code: NoMem Message   : malloc() failedout of memory

When i close connection, memory was free, is there a mean to free memory during a connection ?
What can i do to limit the memory of one connection ?

Thanks for your help

mistachkin added on 2014-03-31 21:29:39:
How many SQLiteCommand and/or SQLiteDataReader objects were in use when the
error was thrown?

Are 'using' blocks being used to dispose the SQLiteCommand and/or
SQLiteDataReader objects when they are no longer needed?