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

android项目似乎存在内存泄露的问题 #136

Open
mayukawaiiyo opened this issue Jun 29, 2023 · 1 comment
Open

android项目似乎存在内存泄露的问题 #136

mayukawaiiyo opened this issue Jun 29, 2023 · 1 comment
Assignees

Comments

@mayukawaiiyo
Copy link

Is your feature request related to a problem? Please describe.
运行android demo似乎存在内存泄露的问题,在移动设备上运行几个小时 native的内存会达到几百mb。
检查发现似乎在runtime/android/app/src/main/cpp/wekws.cc中存在问题,51行accept_waveform需要加上
env->ReleaseShortArrayElements(jWaveform, waveform,0)释放内存

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@robin1001
Copy link
Contributor

感谢,我们看一下。

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

No branches or pull requests

3 participants