Skip to Content
Sep 27, 2018 at 05:26 PM

iOS Application with Ultralite crashed with error Too many open cursors !


Hi Guys,

I am trying to fix an crash issue. On loading an tableview everything works fine but if the user is trying to scroll up and down faster the fields displayed gets removed.

Each fields are taken from the dB and displayed. As a result of fast action the values from DB returns Nil thus app crashes.. if Handling crash then it show empty fields.

Error on console:

[Main thread]Error while executing sql query:

(Too many open cursors)

SQLCODE: -1230

NSLocalizedFailureReason: Too many open cursors


NSLocalizedDescription: Error while executing sql query:

I can see that each statement is closed at some part in applicaiton.

I knew this looks wierd . Please put up your suggestion here.