alphacep / alphacep/vosk-api

Memory Leak in Java?

Aperta
#930 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
15.1k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have been testing Vosk in Java using sockets, and each connection may use a different model as it may require a different language.

I have seen that after each use of vosk, the memory does not return to its initial state. I have tried everything.

- Initialize a model on each connection and close it at the end.
- Initialize a static model (the same for each connection) (best result)
- Force GC to clean memory.
- Close Recongnizer

Is this a known bug for Vosk in Java only? Or for Vosk in general?

Thanks.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.