Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript heap out of memory #118

Open
aashish108 opened this issue Apr 4, 2023 · 1 comment
Open

JavaScript heap out of memory #118

aashish108 opened this issue Apr 4, 2023 · 1 comment
Assignees

Comments

@aashish108
Copy link

Hey there, is there a solution for this? I keep getting this dialog box on starting Sublime Text or creating new files and saving them.

Import Helper
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

I tried to add `"--max-old-space-size=8192" option to the node_bin path but I don't think that works!

Thanks.

@unlight
Copy link
Owner

unlight commented Apr 5, 2023

Try set NODE_OPTIONS env https://nodejs.org/api/cli.html#node_optionsoptions

set NODE_OPTIONS=--max_old_space_size=8192

It's not good, because it should be global and it will affect other node instances if no override NODE_OPTIONS there

I'll add option node bin in next release

@unlight unlight self-assigned this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants