vosk-api
vosk-api copied to clipboard
Memory Leak in Java?
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.
Is this a known bug for Vosk in Java only? Or for Vosk in general?
We are not aware of such issue.