mozilla/DeepSpeech

Memory Leak using Java Native Client

Open

#3 271 ouverte le 24 août 2020

Voir sur GitHub
 (35 commentaires) (0 réactions) (0 assignés)C++ (4 093 forks)batch import
help wantedwaiting-on-reporter

Métriques du dépôt

Stars
 (26 755 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur