Re: [sqlite] File handles for database on OS X keeps growing.

2017-05-19 Thread Simon Slavin
On 20 May 2017, at 1:34am, Map Pin Support wrote: > I have an app which makes thousands of individual inserts into a SQLite3 > database. > I use FMDB as a Cocoa wrapper for SQLite. This is not normal for SQLite. I don’t think you can get much help here.

Re: [sqlite] File handles for database on OS X keeps growing.

2017-05-19 Thread Jens Alfke
> On May 19, 2017, at 5:34 PM, Map Pin Support > wrote: > > What I am seeing is the app crash as a result of “too many files open”, > however I believe I am opening the database file only once: It’s been a while since I’ve used FMDB, but IIRC it opens a

[sqlite] File handles for database on OS X keeps growing.

2017-05-19 Thread Map Pin Support
I have an app which makes thousands of individual inserts into a SQLite3 database. I use FMDB as a Cocoa wrapper for SQLite. Sqlite v 3.18.0 FMDB v 2.6.2 What I am seeing is the app crash as a result of “too many files open”, however I believe I am opening the database file only once: if