Connection pool has been unable to grant a connection to thread

后端 未结 3 1352
萌比男神i
萌比男神i 2020-12-14 06:43

I\'m using GreenDAO for database handling in Android. When performing many database changes (> 15.000) I get this error Message:

The connection pool f

3条回答
  •  不思量自难忘°
    2020-12-14 07:09

    I got this message when creating too many connections to SQLite via DBFlow FlowQueryList . My solution was to make sure that once you were done with the query list to call endTransactionAndNotify() and then close() on the querylist.

    Calling endTransactionAndNotify() alone did not do the trick. I hope this helps, this thread certainly helped me.

提交回复
热议问题