mozilla/DeepSpeech

Memory Leak using Java Native Client

Open

#3,271 opened on 2020年8月24日

GitHub で見る
 (35 comments) (0 reactions) (0 assignees)C++ (26,755 stars) (4,093 forks)batch import
help wantedwaiting-on-reporter

説明

For support and discussions, please use our Discourse forums.

If you've found a bug, or have a feature request, then please create an issue with the following information:

  • Have I written custom code (as opposed to running examples on an unmodified clone of the repository):
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Android R (API 30)
  • Exact command to reproduce:

I modified the STT-example in Kotlin for use in a Mozilla-STT React Native module I'm building. However, running streaming transcription uses more and more memory until the app crashes. See a fully working example by cloning this repo, running yarn bootstrap, then yarn example android. Attach to it using the Android Studio profiler to watch the memory usage creep upwards.

Implementation: https://github.com/zaptrem/react-native-transcription/blob/master/android/src/main/java/com/reactnativetranscription/TranscriptionModule.kt

Please describe the problem clearly. Be sure to convey here why it's a bug or a feature request.

Include any logs or source code that would be helpful to diagnose the problem. For larger logs, link to a Gist, not a screenshot. If including tracebacks, please include the full traceback. Try to provide a reproducible test case.

コントリビューターガイド

Memory Leak using Java Native Client · mozilla/DeepSpeech#3271 | Good First Issue