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

Fatal javascript OOM in GC during deserialization #1498

Closed
JounQin opened this issue Jul 6, 2022 · 1 comment
Closed

Fatal javascript OOM in GC during deserialization #1498

JounQin opened this issue Jul 6, 2022 · 1 comment

Comments

@JounQin
Copy link

JounQin commented Jul 6, 2022

via mdx-js/mdx#2071

Reproduction: https://github.com/mshick/eslint-mdx-next

eslint-mdx@v2 is using synckit which runs a worker under the hood, the ESLint cli works without any problem.

After checking #733 (comment) and I tried to add

{
  "eslint.execArgv": [
    "--max_old_space_size=16384"
  ]
}

But the error remains.

@JounQin
Copy link
Author

JounQin commented Jul 6, 2022

OK, I found an option:

eslint.runtime - use this setting to set the path of the node runtime to run ESLint under. #1233 (comment) if you want to use your default system version of node.

It seems being working as expected now.

@JounQin JounQin closed this as completed Jul 6, 2022
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

No branches or pull requests

1 participant