alphacep / alphacep/vosk-api

Memory leak ?

Đang mở
#209 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
15.1k
Fork
1.8k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.