-
Notifications
You must be signed in to change notification settings - Fork 513
Visual Studio Code Host hogs CPU and floods error log with error "Unrecognized option: --version" #4073
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
Visual Studio Code Host hogs CPU and floods error log with error "Unrecognized option: --version" #4073
Comments
Just updated Java from
FWIW, java output:
|
@greenmooseSE Could you provide the content of your profile? Specifically, the prompt you're using? This question is mainly to suggest a workaround to use for now. Thanks for the report, I have a pretty good idea of how to fix this (basically we shouldn't use |
@SeeminglyScience Thanks! That lead me to the cause of problem. I had, as you suspected, |
Prerequisites
Summary
When I start VsCode with powershell extension installed it spawns a powershell.exe process which constantly hogs a CPU core,
Looking in logs it complains of not being able to create JVM?
The spawned powershell.exe process' command line:
The log file
EditorSerivces.log
starts out with these lines:And then continues on forever with logging entries below:
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
It's a new computer setup, just installed VsCode and noticed this CPU hog
Visuals
Logs
Can collect more logs if below is not enough
The text was updated successfully, but these errors were encountered: