Skip to content

Commit

Permalink
Revice comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Jan 23, 2024
1 parent 13cd467 commit 65c1b9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ WORKDIR /usr/app
COPY --from=build_deps /usr/app .

# NodeJS applications have a default memory limit of 4GB on most machines.
# This limit is bit tight for a Holesky node, it is recommended to raise the limit
# This limit is bit tight for a Mainnet node, it is recommended to raise the limit
# since memory may spike during certain network conditions.
ENV NODE_OPTIONS=--max-old-space-size=8192

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
- "9000:9000" # P2P port
# - "9596:9596" # REST API port
command: beacon --dataDir /data --rest --rest.address 0.0.0.0 --metrics --logFile /logs/beacon.log --logFileLevel debug --logFileDailyRotate 5
# NodeJS applications have a default memory limit of 2.5GB.
# This limit is bit tight for a Prater node, it is recommended to raise the limit
# NodeJS applications have a default memory limit of 4GB on most machines.
# This limit is bit tight for a Mainnet node, it is recommended to raise the limit
# since memory may spike during certain network conditions.
environment:
NODE_OPTIONS: --max-old-space-size=8192
Expand Down
2 changes: 1 addition & 1 deletion lodestar
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# Convenience script to run the lodestar binary from built source
#
# ./lodestar.sh beacon --network holesky
# ./lodestar.sh beacon --network mainnet

node --trace-deprecation --max-old-space-size=8192 ./packages/cli/bin/lodestar.js "$@"

0 comments on commit 65c1b9e

Please sign in to comment.