-
Hi, First of all, thank a lot for your work building elk. I'm trying to build the docker image but it fails always with the same error. I could generate it some time ago, but it stop working with the latest updates in master branch. The error is always the same out of memory in the step
I tried to increase the heap size using the Any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @tonivade 🙂 I encountered the same error on the netlify build for #3059. Here's the netlify log:
https://app.netlify.com/sites/elk-zone/deploys/67428a83f7f4350008f3c509#L975 To fix this, we set the same Node options here to 4GB: Line 6 in f5cada0 ref. Command-line API | Node.js v23.6.0 Documentation - https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-mib |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
@shuuji3 thanks for your help!
Finally I managed to fix the issue adding to this to the Dockerfile:
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.