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 load when Language Server is integrated in VSCode #354

Closed
cafe88 opened this issue May 17, 2021 · 1 comment
Closed

High CPU load when Language Server is integrated in VSCode #354

cafe88 opened this issue May 17, 2021 · 1 comment

Comments

@cafe88
Copy link

cafe88 commented May 17, 2021

Robot framework language server in VSCode is using very much CPU power in idle.
May be the same error as mentioned in #350

To Reproduce
Install Robot Framework Language
Reload VSCode
Open a .robot file.

Expected behavior
No significant change in processor activity should happen when sitting idle.

Screenshots
image

Additional Information (from code --status, shortened)

CPU %   Mem MB     PID  Process
    5       23   20196           C:\Users\mweinberg\AppData\Local\Programs\Python\Python38\python.exe -u c:\Users\mweinberg\.vscode\extensions\robocorp.robotframework-lsp-0.16.0\src\robotframework_ls\__main__.py -vv --log-file=~/robotframework_ls.log
    8       34   16792           C:\Users\mweinberg\AppData\Local\Programs\Python\Python38\python.exe -u c:\Users\mweinberg\.vscode\extensions\robocorp.robotframework-lsp-0.16.0\src\robotframework_ls\server_api\server__main__.py -vv --log-file=~/robotframework_ls.log.lint.api
    7       33   23756           C:\Users\mweinberg\AppData\Local\Programs\Python\Python38\python.exe -u c:\Users\mweinberg\.vscode\extensions\robocorp.robotframework-lsp-0.16.0\src\robotframework_ls\server_api\server__main__.py -vv --log-file=~/robotframework_ls.log.1.others.api

Logs:
If logs are needed, i can add them here.
But then I'll have to check it before posting because this is an issue which happens on my PC at work.

Versions:
OS: Windows 10
Robot Framework Language Server: 0.16.0
VSCode: 1.56.2

@fabioz
Copy link
Collaborator

fabioz commented May 17, 2021

This really seems like a duplicate of #350, so, I'm going to close this one.

Note: I added comments at: #350 (comment) so that I can get some further information to know what's actually going on... if you can provide those from your machine and attach it to that issue, that'd be nice.

@fabioz fabioz closed this as completed May 17, 2021
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

2 participants