FaceVerificationAndroid icon indicating copy to clipboard operation
FaceVerificationAndroid copied to clipboard

Native Memory used during comparison not being garbage collected

Open petyr47 opened this issue 4 years ago • 2 comments

Hello, I noticed an issue when using this Library, the Native memory usage of the app increases gradually after every call to MxNetUtils.identifyImage(), i have tried several methods when try to stop this but i have not found any, i have however successfully narrowed down the source of the issue to that function

Screenshot 2020-07-18 at 14 42 36

petyr47 avatar Jul 24 '20 21:07 petyr47

i am sorry,this project is too far from now.i cannot give you enough help. From my point, no leak is fine for this.the memory allocation is mxnet's work, i cannot optimize mxnet

flyingzhao avatar Aug 13 '20 07:08 flyingzhao

okay @flyingzhao, thank you. Do you have any suggestions at all on how i can begin to fix this, any ideas at all would be appreciated. Thank you in advance @flyingzhao.

petyr47 avatar Aug 14 '20 01:08 petyr47