alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

Core dumped while running the nnet example #15

Closed tarekmehrez closed 9 years ago

tarekmehrez commented 9 years ago

I received a core dumped termination error while running the sample nnet worker (sample_english_nnet2.yaml) as in the README.

self.asr = Gst.ElementFactory.make("kaldinnet2onlinedecoder", "asr")
2015-05-18 12:35:05 -    INFO:   decoder2: Setting decoder property: big-lm-const-arpa = test/models/english/tedlium_nnet_ms_sp_online/G.carpa
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Is it a specific memory issue on my machine?

tarekmehrez commented 9 years ago

I didn't have enough rams on my machine, increasing the memory solved the issue.