vscode-python: New Language Server chewing up CPU and fails on Mac

  • Enable analysis engine on Mac
  • Reload VS Code
  • Open a python file with the following code:
import sys
print(sys)
  • Hover over sys in second line

Observations

  • dotnet process uses around 100% CPU
  • Number of errors are logged in console window

Work around

  • Edit the file
  • Save changes
  • Hover and intellisense works
  • After around 30 seconds, cpu usage of dotnet process goes down to <1%

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (2 by maintainers)

Most upvoted comments

@DonJayamanne didn’t you mention today this is no longer an issue?

I’ve left my Macbook at work so I’ll try to reproduce this on Monday.