ctcdecode icon indicating copy to clipboard operation
ctcdecode copied to clipboard

Cannot allocate memory mmap failed for size 2953349384 at offset 0

Open baicaitongee opened this issue 5 years ago • 1 comments

when i run it on raspberry pi (ram 4gb),i got this:

Loading model... Traceback (most recent call last): File "examples/demo-server.py", line 10, in import beamdecode File "/home/pi/masr/examples/../beamdecode.py", line 29, in blank_index, File "/home/pi/.local/lib/python3.7/site-packages/ctcdecode/init.py", line 18, in init self._num_labels) RuntimeError: third_party/kenlm/util/mmap.cc:122 in void* util::MapOrThrow(std::size_t, bool, int, bool, int, uint64_t) threw ErrnoException because `(ret = mmap(__null, size, protect, flags, fd, offset)) == ((void *) -1)'. Cannot allocate memory mmap failed for size 2953349384 at offset 0

baicaitongee avatar Apr 03 '20 04:04 baicaitongee

Have a same problem! Hoping a solution

zamling avatar Apr 05 '21 10:04 zamling