sepinf-inc / IPED

IPED Digital Forensic Tool. It is an open source software that can be used to process and analyze digital evidence, often seized at crime scenes by law enforcement or in a corporate investigation by private examiners.
Other
924 stars 217 forks source link

Fix Vosk slow down after processing a lot of audios (#1909) #1910

Closed wladimirleite closed 11 months ago

wladimirleite commented 11 months ago

Fix #1909.

wladimirleite commented 10 months ago

Unfortunately, after ~8 hours processing the CPU usage decreased. It is much better than it was before (when after 30 minutes a slow down was noticeable).

I am testing now with an even smaller buffer size (4096), which is the value used in Vosk samples. Tomorrow I should come to a conclusion.

Anyway, this is just a workaround, not a definitive solution. I will try to open an issue in the Vosk project, to see if we can confirm it is an issue or get some advice on how to avoid this issue.

wladimirleite commented 10 months ago

Using 4096 didn't help, as there was also a CPU usage decrease after ~8h. So I guess for now we have to keep the merged changes. For most cases it should be enough to avoid the slowness.