Skip to content

Add lodestar_heap variable in setup.sh#60

Open
philknows wants to merge 2 commits intomainfrom
philknows/lodestar-heap
Open

Add lodestar_heap variable in setup.sh#60
philknows wants to merge 2 commits intomainfrom
philknows/lodestar-heap

Conversation

@philknows
Copy link
Member

Remember to adjust --max-old-space-size=16384 in the setup.sh script to ensure you don't crash from heap memory limits:

What about using a variable like LODESTAR_HEAP (or similar) for this? that way could already set a default of 16384 in .vars file for non-finality devnets. And if var is not set just default to 8192

Originally posted by @nflaig in #58 (comment)

This PR enables this feature request and adjusts all *.vars network configs to set the variable.


LODESTAR_IMAGE=chainsafe/lodestar:next

LODESTAR_HEAP=16384
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be required to be higher in nft testnets since we fixed the issue that caused the memory increase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants