Skip to content

Out of memory generating docker image #3142

Answered by tonivade
tonivade asked this question in Q&A
Discussion options

You must be logged in to vote

@shuuji3 thanks for your help!

Finally I managed to fix the issue adding to this to the Dockerfile:

ENV NODE_OPTIONS="--max-old-space-size=4096" 

I'm running elk on a rpi5 with only 4GB of RAM and to make it work I need to stop most of the other services running to make room for the image generation.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@shuuji3
Comment options

@shuuji3
Comment options

@tonivade
Comment options

@shuuji3
Comment options

Answer selected by shuuji3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants