Skip to content

Commit

Permalink
Update Lodestar beacon max-old-space-size to 8192 (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Jan 24, 2024
1 parent 01a9f04 commit 5c22c93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lodestar-cl-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
- NETWORK=${NETWORK}
- IPV6=${IPV6:-false}
- CL_P2P_PORT=${CL_P2P_PORT:-9000}
- NODE_OPTIONS=${LODESTAR_HEAP:---max-old-space-size=4096}
- NODE_OPTIONS=${LODESTAR_HEAP:---max-old-space-size=8192}
ports:
- ${HOST_IP:-}${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp
- ${HOST_IP:-}${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp
Expand Down
2 changes: 1 addition & 1 deletion lodestar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
- NETWORK=${NETWORK}
- IPV6=${IPV6:-false}
- CL_P2P_PORT=${CL_P2P_PORT:-9000}
- NODE_OPTIONS=${LODESTAR_HEAP:---max-old-space-size=4096}
- NODE_OPTIONS=${LODESTAR_HEAP:---max-old-space-size=8192}
ports:
- ${HOST_IP:-}${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp
- ${HOST_IP:-}${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp
Expand Down
4 changes: 3 additions & 1 deletion lodestar/Dockerfile.source
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@ RUN chmod -R 755 /usr/local/bin/*

USER lsconsensus

ENTRYPOINT ["node", "--max-old-space-size=16384", "/usr/app/node_modules/.bin/lodestar"]
ENV NODE_OPTIONS=--max-old-space-size=8192

ENTRYPOINT ["node", "/usr/app/node_modules/.bin/lodestar"]

0 comments on commit 5c22c93

Please sign in to comment.