-
Notifications
You must be signed in to change notification settings - Fork 255
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
JNI ERROR (app bug): local reference table overflow (max=512) #15
Comments
Same here, I am using the android java contacts api and the app crashes due to this error
|
@tshirtman ref this answer and #371. I'm not sure we would be able to somehow overcome this. If the table has that limitation, we can only make sure we remove our references right after we don't need them. We might try to store the refs on the Python side, but I don't think JNI would be happy about that and it'd just collect the objects or just return segfault, no? However we might switch to Minor sidenote: I've been able to |
ref Android JNI docs |
Loading some classes on android simply break because of the limit of jni reference table, would be great to find a way around this.
Exemple found just now, that crashes kivy-remote-shell on its own.
The text was updated successfully, but these errors were encountered: