Skip to content

Initializing JS/TS librarys spin endless. Logs says out of memory. How can I increase it? #2113

Answered by code-asher
diegosucaria asked this question in Q&A
Discussion options

You must be logged in to vote

You can increase the memory Node is allowed to use by setting --max_old_space_size in NODE_OPTIONS. For example:

NODE_OPTIONS=--max_old_space_size=4096 code-server

The default is 2048.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@diegosucaria
Comment options

@code-asher
Comment options

Answer selected by code-asher
Comment options

You must be logged in to vote
1 reply
@code-asher
Comment options

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