Skip to content
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 leakage on Android? #14

Closed
zli18 opened this issue Dec 16, 2019 · 3 comments
Closed

memory leakage on Android? #14

zli18 opened this issue Dec 16, 2019 · 3 comments

Comments

@zli18
Copy link

zli18 commented Dec 16, 2019

Hi, I am testing this demo on Samsung S7 and S8. When I profile the app, I found the memory usage keeps increasing, for both microphone or file recognition. It seems to have memory leakage in the recognizer. Do you have a chance to take a look? Thanks a lot.

@nshmyrev
Copy link
Collaborator

Ok, I'll check. Please provide the numbers, what memory size do you see in what period of time. Thanks

@zli18
Copy link
Author

zli18 commented Dec 17, 2019

Tested on S7 with Android 7.0, every time I click "recognize file" the memory usage increase around 40MB. Occasionally when the memory reaches ~500mb, it drops to below 200mb, but other time, it just keeps increasing to full hardware size. Microphone got the similar behavior. Also tested on S8 with Android 9.0, same results. Thanks.

@nshmyrev
Copy link
Collaborator

nshmyrev commented Jun 1, 2020

This should be fixed now with alphacep/vosk-api#83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants