Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CursorWindowAllocationException: Could not allocate CursorWindow '<unnamed>' of size 5242880 due to error -12. #20207

Closed
sentry-io bot opened this issue Feb 19, 2024 · 4 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 19, 2024

Sentry Issue: JETPACK-ANDROID-JHT

CursorWindowAllocationException: Could not allocate CursorWindow '<unnamed>' of size 5242880 due to error -12.
    at android.database.CursorWindow.nativeCreate(CursorWindow.java)
    at android.database.CursorWindow.<init>(CursorWindow.java:139)
    at com.yarolegovich.wellsql.SelectQuery$$InternalSyntheticApiModelOutline$16$7cb37f5ee24e894454c0094c61cf26bf86d461c7de6b729f06465d75bf2329dd$0.m(R8$$SyntheticClass:0)
    at com.yarolegovich.wellsql.SelectQuery.execute(SelectQuery.java:222)
    at com.yarolegovich.wellsql.SelectQuery.getAsModel(SelectQuery.java:156)
...
(22 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

dangermattic commented Feb 19, 2024

Thanks for reporting! 👍

@RenanLukas
Copy link
Contributor

It seems like error -12 is related to a cursor leak, so probably cursor.close() is not being called where it's supposed to. Since this is happening inside WellSql (which is not being maintained) I'm not sure there's an easy way around this.

@thomashorta
Copy link
Contributor

Probably similar to: #19331

Copy link
Author

sentry-io bot commented Feb 22, 2024

Sentry Issue: JETPACK-ANDROID-JP8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants