-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Use of CPU recently became too high #431
Comments
@memeplex Thank you. Below is the comment I left in #393 . The behavior seems to most like @memeplex I would like to find out the issue. Common causes:
|
I've killed all code processes and restarted vscode many times. After a time of using cspell the problem always reoccurs. I've also reinstalled the extension to no avail. I'm testing this with a python file < 1000 LOCs. OS is Ubuntu 19.10. vscode about:
User level cspell configuration:
Workspace level cspell configuration:
|
It is your regex for detecting python strings. As soon as you try to type in a new Try replacing:
with
See the old one fail here: Try out the new one here: |
Looks like I wrote the bad expression! Thank you for the heads up! |
The string |
Exactly. |
At the risk of bothering you too much, could you explain a bit more about the differences between both approaches regarding the problem reported here? |
This guy explains it rather well: |
Ahh ok I see, it's quite clear now. Thank you again! |
I have a similar issue with this extension on macOS. Occasionally, after I quit VS Code, the extension process lingers around and uses a lot of CPU (high 90s). Starting VS Code again does not resolve the issue and the only way is to kill said process using the command line or through system monitor. last time I caught it this is the execution path reported by
|
@kwmlodozeniec, please open a new issue. |
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. |
As soon as I turn on spell checking for a workspace my laptop gets hot and my battery starts to drain.
Both my system process exporer and vscode process explorer show this extension process permanently using a high percentage of CPU:
At this point I only have one moderately sized python file open in my editor. Even if I turn off spell checking, CPU usage stays high until I kill the offending process.
extension version
1.7.23
vscode version
Version: 1.42.1
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:50:36.977Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.3.0-29-generic
The text was updated successfully, but these errors were encountered: