neural-mt

Docker build from Dockerfile with more memory

纵然是瞬间 提交于 2019-12-20 12:37:19
问题 How to docker build from Dockerfile with more memory? This is a different question from this Allow more memory when docker build a Dockerfile When installing the software natively, there is enough memory to successfully build and install the marian tool But when building the Docker image using the Dockerfile https://github.com/marian-nmt/marian/blob/master/scripts/docker/Dockerfile.cpu , it fails with multiple memory exhausted errors virtual memory exhausted: Cannot allocate memory [out]: