How to get the all open cursor count in Android Sqlite

Viewed 26

I am facing the cursor memory leaking issue due to some cursors opening but did not close so is there any query to get the open cursor counts?

This is the exception I am getting. Caused by: android.database.CursorWindowAllocationException: Cursor window allocation of 31457280 bytes failed. # Open Cursors=50 (# cursors opened by this proc=50)

0 Answers
Related