Error running code:
luajit: not enough memory
The reason for the search seems to be that LuaJIT limit of 2GB,
The solution is to install LUA5.1. Since LuaJIT 2.1 is the default when installing Torch, the /install command allows you to install LUA5.1 in this step, with the following commands:
TORCH_LUA_VERSION=LUA51 ./install.sh
When the installation is complete, re-run the code and there will be no errors.
Read More:
- The difference, cause and solution of memory overflow and memory leak
- Kvm internal error: process exited :cannot set up guest memory ‘pc.ram‘:Cannot allocate memory
- os::commit_memory(0x0000000538000000, 11408506880, 0) failed; error=‘Cannot allocate memory‘
- Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- WebHost failed to process a request.Memory gates checking failed because the free memory (140656640 …
- The firmware of the connected j-link does not support the following memory access)
- The solution of shared memory real does not exist when Oracle login
- Detecting memory consumption by Python program
- [PostgreSQL tutorial] · out of memory issue
- Runtimeerror using Python training model: CUDA out of memory error resolution
- Pandas memory error
- Memory error in Python numpy matrix
- Oracle 11g installation prompt ora-27102: out of memory
- Error: 701 use DAC connection when out of memory
- Mysql cannot allocate memory for the buffer pool solution
- Server composer install error: proc_open(): fork failed-Cannot allocate memory
- Python: CUDA error: an illegal memory access was accounted for
- CUDA error:out of memory
- Opencv error: insufficient memory