docker-node
docker-node copied to clipboard
Fatal process OOM in insufficient memory to create an Isolate
Environment
- Platform: Linux aarch64
- Docker Version: 19.03.11
- Node.js Version: 12
- Image Tag:
12-alpine
Expected Behavior
I should be able to run the Docker container.
Current Behavior
Any invocation of node in the container (including npm) results in the following:
<--- Last few GCs --->
<--- JS stacktrace --->
#
# Fatal process OOM in insufficient memory to create an Isolate
#
Possible Solution
Searching around the web I found some suggestions to set the --max-old-space-size flag, but this doesn't seem to have any effect.
FWIW my system has 24 GB of RAM, so I'm definitely not out of memory.
Steps to Reproduce
docker run --rm -it node:12-alpine
Additional Information
This also occurs with node:13-alpine, but not 11-alpine or 14-alpine.