You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looking into ofxAndroidVideoGrabber.cpp i can see that the byte-array gets released when not used anymore: env->ReleaseByteArrayElements(array, (jbyte*)currentFrame, 0); but somehow the pin-count on the array is not reduced.
when running a videograbber on a device the application is continuously pinning the image data array:
when a maximum pin count of 1024 is reached, the application crashes:
looking into
ofxAndroidVideoGrabber.cpp
i can see that the byte-array gets released when not used anymore:env->ReleaseByteArrayElements(array, (jbyte*)currentFrame, 0);
but somehow the pin-count on the array is not reduced.i tried what is proposed in this stackoverflow post: https://stackoverflow.com/questions/18668135/jni-memory-leak-from-byte-array#18668319 without any change in the behaviour.
of code:
The text was updated successfully, but these errors were encountered: