Torch7 - Not enough memory: you tried to allocate 0GB. Buy new RAM

I tried to download a large set of audio data and implement audio.spectrogram.

I got this error:

$ Torch: not enough memory: you tried to allocate 0GB. Buy new RAM! at /home/XXXX/torch/pkg/torch/lib/TH/THGeneral.c:222 stack traceback: [C]: at 0xb732c560 [C]: in function '__add' /home/XXXX/torch/install/share/lua/5.1/audio/init.lua:107: in function 'spectrogram' large.lua:24: in main chunk [C]: in function 'dofile' [string "_RESULT={dofile "large.lua"}"]:1: in main chunk [C]: in function 'xpcall' /home/XXXX/torch/install/share/lua/5.1/trepl/init.lua:650: in function 'repl' ...XX/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk [C]: at 0x0804d6d0 

Does torch7 have a memory limit?

+6
source share

All Articles