Example here: https://circleci.com/gh/ferrouswheel/nlp-services/29
I’m trying to save a rather large image using
docker save (about 5-6GB, because it contains neural net models and CUDA libraries).
50% of the time it’s fine, the rest of the time I get:
write /caches/.docker_temp_050272932: cannot allocate memory Exited with code 1
I have tried running this command locally and monitoring memory usage, but as far as I’ve seen, it never increases about 50-100MB resident memory.
Any ideas what I’m doing wrong?