srvk / eesen-transcriber

EESEN based offline transcriber VM using models trained on TEDLIUM and Cantab Research
Apache License 2.0
49 stars 14 forks source link

default: virtual memory exhausted: Cannot allocate memory #27

Closed aolney closed 5 years ago

aolney commented 5 years ago

Seems to occur when using the default Vagrantfile with bento/ubuntu-16.04 (i.e., compiling kaldi by default).

Increasing RAM to 32GB didn't seem to help, but increasing the swap size did [ link ].

Specifically

  config.vm.provision "shell", inline: <<-SHELL
    #add virtual memory
    sudo apt install swapspace -y
aolney commented 5 years ago

Even better (or perhaps alternately) replace make -j with make -j`nproc` in the Vagrantfile

fmetze commented 5 years ago

added as an option