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

bin.native 100% cpu constantly #291

Open
c19 opened this issue May 24, 2019 · 9 comments
Open

bin.native 100% cpu constantly #291

c19 opened this issue May 24, 2019 · 9 comments

Comments

@c19
Copy link

c19 commented May 24, 2019

~/.vscode/extensions/jaredly.reason-vscode-1.6.1/bin.native

It doesn't exit even VSCode is exited.

@alex35mil
Copy link

I suggest to run bsb -w in a separate terminal and do not rebuild project using RLS. It solved this problem for me.

@jfrolich
Copy link

Maybe the default should change until this issue is fixed?

@jfrolich
Copy link

This is reproducable when you have two bsconfig.json files in different folders of a project open in vscode. Would be great to squash this bug!

@fakenickels
Copy link

This is still happening. It consumes so much of my CPU my Mac doesn't charge even plugged to the outlet

@fakenickels
Copy link

This is reproducable when you have two bsconfig.json files in different folders of a project open in vscode. Would be great to squash this bug!

same here!

@alex35mil
Copy link

In the current state of things, I highly recommend having only one bsconfig.json for everything: https://twitter.com/alexfedoseev/status/1150985425575481350?s=21

@fakenickels
Copy link

What I'm doing now to avoid the problem is to open my editor separately for each package of my monorepo

@jfrolich
Copy link

jfrolich commented Apr 5, 2020

The 100% CPU problem is not happening for me when I set this setting in the vscode settings:

  "reason_language_server.autoRebuild": false

And run bsb manually.

@cristianoc
Copy link
Contributor

Not sure if autoRebuild affects how often rebuild (hence refmt) is triggered.
E.g. as-you-type really stress-tests remft by feeding incomplete program it would rarely get (by having half-typed things), and calling it very often.

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

5 participants