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

High CPU usage #94

Closed
etoews opened this issue May 18, 2017 · 6 comments
Closed

High CPU usage #94

etoews opened this issue May 18, 2017 · 6 comments

Comments

@etoews
Copy link

etoews commented May 18, 2017

After upgrading to VS Code v1.12.2, Code Spellchecker is consuming 100% of a CPU on my MacBook Pro.

The CPU spike didn't happen until I started trying to work with misspelled words (hover over them, add them to the dictionary, etc).

After uninstalling Code Spellchecker I find that I still need to force quit its Code Helper process in the Activity Monitor.

I initially reported this in microsoft/vscode#11963

Versions

VS Code: 1.12.2
Code Spellchecker: 1.1.0
Mac: Sierra 10.12.4

I found the extension causing the CPU spike by finding the PID in the Activity Monitor and then
$ ps aux | grep 89038
everett          89038 100.0  0.4  3304916  59456   ??  R     7:10AM   6:53.58 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/everett/.vscode/extensions/streetsidesoftware.code-spell-checker-1.1.0/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/everett/.vscode/extensions/streetsidesoftware.code-spell-checker-1.1.0/server/src/server.js --node-ipc
@Jason3S
Copy link
Collaborator

Jason3S commented May 28, 2017

Sorry about this. I have not had the time to look at this one.

I know there is an issue. I suspect it has to do with one of the libraries used to communicate with VS Code, but I have not had the time to track it down.

If you have a good way to reproduce the issue, that would be most helpful. Because it is not happening to me. Until I can reliably make it happen, it is very hard to find the cause.

Thank you.

@Jason3S
Copy link
Collaborator

Jason3S commented Aug 9, 2017

Is this still happening? I know VS Code itself has been having issue with this which are not related to the spell checker.

@etoews
Copy link
Author

etoews commented Aug 15, 2017

I just installed it again. I'll run with it for a while and let you know how it goes.

@Jason3S
Copy link
Collaborator

Jason3S commented Aug 17, 2017

Another user found that it was getting stuck on a very large .json file: microsoft/vscode#11096 (comment)

@etoews
Copy link
Author

etoews commented Aug 27, 2017

I've been running the extension for a couple of weeks now and it's been fine. I'll close this out.

BTW, thanks a lot for all of your work on this extension. It's great!

@etoews etoews closed this as completed Aug 27, 2017
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants