alphacep / alphacep/vosk-api

Memory leak ?

Aperta
#209 6 commenti 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

Hello,
I am using vosk on a board with limited RAM but it looks like there is a kind of memory leak.
When my Python program is running, I can see from htop that the RAM is constantly increasing.

My first idea was to see if the problem was there with the code compiled on my computer and in C++.
Unfortunately, when running vosk-api/c/test_vosk.c the leak is still there.

Because the leak is actually quite important, I shouldn't be the first one seeing it.
So my question here is more: What am I missing ?

I am on vosk-api master branch, ubuntu 18.04 using g++ 7.5
For my test, I have a 3 min 35 sec long wav file extracted from BBC Channel. The RAM usage starts at 170 Mo and end up to 230 Mo.

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.