Open heibaidaolx123 opened 4 years ago
I am also struggling with this memory leak - trying to clean up an NnetLatticeFasterOnlineRecognizer instance but it seems like something is being left behind, and that memory seems to be created when read_fst_kaldi is called. Can anybody help with this?
@dogancan
My pykaidl is installed according to the steps in Dockerfile. The code to reproduce the leak:
Part of output of valgrind --leak-check=full:
When I used pykaldi to read lattices in discriminative training, it would be killed due to OOM. Any idea why or how to fix it?