This is a painful error as it takes a long time to get to this point and there is no visibility into what went wrong.
- Does anybody have suggests on locating the cause of this crash? Logs?
- I assume downloading the parent container is the main bottleneck. Can I short circuit this so that subsequent runs/trials don't take as long?
Step 6 : RUN npm install ---> Running in 229b1063fec1 npm WARN package.json meanjs@0.3.3 No README data npm WARN excluding symbolic link build/defs-config.json -> ../defs-config.json Killed
EDIT: Looks like THE OOM Killer is getting me. Any adivce on reducing footprint?
Dec 25 14:15:25 vagrant-ubuntu-trusty-64 kernel: [26892.464675] Out of memory: Kill process 18561 (fig) score 482 or sacrifice child Dec 25 14:15:25 vagrant-ubuntu-trusty-64 kernel: [26892.465195] Killed process 18561 (fig) total-vm:549684kB, anon-rss:489500kB, file-rss:0kB
EDIT: FIG.YML
web:
build: .
links:
- db
ports:
- "3000:3000"
- "35729:35729"
volumes:
- .:/home/app
environment:
NODE_ENV: development
db:
image: mongo
ports:
- "27017:27017"