I think I found a memory leak in the JNI code.
In function Java_com_googlecode_tesseract_android_TessBaseAPI_nativeInit(...) :
env->ReleaseStringUTFChars(lang, c_dir);
should probably be
env->ReleaseStringUTFChars(dir, c_dir);
Original issue reported on code.google.com by le.mouli...@gmail.com on 2 Dec 2011 at 7:15
Original issue reported on code.google.com by
le.mouli...@gmail.com
on 2 Dec 2011 at 7:15