#1294 Local references leak in callbacks

open
java (79)
5
2012-12-21
2012-12-20
No

When Java callback ends Java doesn't clean list of local references. Code which swig generates also doesn't remove local references. As result we have the following error:
12-14 15:21:43.454: E/dalvikvm(28362): JNI ERROR (app bug): local reference table overflow (max=512)
12-14 15:21:43.454: W/dalvikvm(28362): JNI local reference table (0x605902c8) dump:
12-14 15:21:43.454: W/dalvikvm(28362): Last 10 entries (of 512):
.....

See discussion here:
https://sourceforge.net/mailarchive/message.php?msg_id=29772636

Discussion


Log in to post a comment.