-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Memory leak Hand tracking mediaPipe #1758
Comments
Hi @PopoTeaTree https://ibb.co/09VwBYc is empty, Could you please share the logs. |
Can you paste the entire logcat? Also, can you explain what the first screenshot is showing? It is hard to see what is going on with no labels and other information, so I do not see signs of a memory leak Which phone do you have? Have you tried analyzing any of the other MediaPipe demos? Does the hand tracking without AAR have the same problem? |
Hi @PopoTeaTree, Could you please provide the details requested in the above comment. Thanks! |
Thanks for response !!! Moreover, I teird to Bazel build again with hand tracking and multi hand tracking AAR files, but it got the same problem. Then I also rebuild the both hand tracking graph by cutting all detect graphic in render node (detections, landmarks, rect, handness). The rebuild with cutting detect graphic has memory leak problem too, but it took more time before the application automatic close by itself with the same trend of graph. In addition, before I build AAR file I use only Tensorflow files for hand tracking (https://github.com/metalwhale/hand_tracking) and did not get any error. P.S. Sorry for my English, if it did not clear please tell me. |
`apply plugin: 'com.android.application' android {
} dependencies {
//
}` |
The device that I used is Galaxy TabA10.0, Galaxy TabA8.0, Galaxy S9+, Galaxy TabS6 lite. The testing that showed in comment from TabS6 lite (https://www.gsmarena.com/samsung_galaxy_tab_s6_lite-10158.php). |
Hi @PopoTeaTree We need a Logcat report, while the issue is reproducible. Thanks! |
2021-04-19 14:48:32.835 10992-10992/com.example.handtracking_16 E/Zygote: isWhitelistProcess - Process is Whitelisted |
Try increasing NUM_BUFFERS to 3 or 4 |
I build hand tracking aar file(Android) from https://google.github.io/mediapipe/getting_started/android_archive_library.html#steps-to-build-a-mediapipe-aar. Then I found cash from a memory leak.
https://ibb.co/09VwBYc
Any suggestion?
The text was updated successfully, but these errors were encountered: