mozilla/DeepSpeech

Memory Leak using Java Native Client

開放

#3,271 建立於 2020年8月24日

 (35 則留言) (0 個反應) (0 位負責人)C++ (4,093 個分叉)batch import
help wantedwaiting-on-reporter

倉庫指標

星標
 (26,755 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南