alphacep / alphacep/vosk-api

Memory Leak in Java?

Open
#930 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.