Sunday, 15 February 2015

android.database.CursorWindowAllocationException and java.net.socketexception too many open files -



android.database.CursorWindowAllocationException and java.net.socketexception too many open files -

i getting android.database.cursorwindowallocationexception in background process. have ensured close cursors after open them in cases. have kept static global counter counts num of cursors opened ensure not leaking cursors.

also, catching "java.net.socketexception many open files" around same time cursorwindowallocation exception. have looked @ number of open socket connections of device using adb , never goes beyond 200.

i calling both network operations , db operation in service runs periodically every 5 secs. possible reason these errors?

android database sqlite

No comments:

Post a Comment