vendredi 22 mai 2015

SQLLite Issue on Android Lollipop

I have built an app to be used in work that worked perfectly on KitKat devices. However on Lollipop devices when making calls to the database the app is crashing. On debugging this is the error:

/com.alcontrol.atmis.anticimex E/CursorWindow﹕ Could not allocate CursorWindow '/data/data/com.alcontrol.atmis.AppName/databases/dbName of size 2097152 due to error -12.

What is also strange is that it crashes intermittently (i.e. Attempt 1 does work, Attempt 2 doesn't work)

I am not expecting a solution from the limited information I have given (I am not sure what other information I could put up, the code is thousands of lines long). But I was hoping someone would know what the error means. Tried googling but haven't been successful.

Aucun commentaire:

Enregistrer un commentaire