Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

vscode and godef use high cpu (with steps) #684

Closed
ramya-rao-a opened this issue Dec 6, 2016 · 7 comments
Closed

vscode and godef use high cpu (with steps) #684

ramya-rao-a opened this issue Dec 6, 2016 · 7 comments
Assignees

Comments

@ramya-rao-a
Copy link
Contributor

From @zakokun on December 6, 2016 4:45

  • VSCode Version: 1.7.2
  • OS Version: macOS Sierra
  • go version: go1.7.3

extensions:
extension

Steps to Reproduce:

  1. open vscode
  2. open a .go file, use go def many times
  3. then vscode use cpu high
    extension
  4. use commad +Q quit vcode, I see many godef process
    extension

see ps aux

extension

/Users/zhanghongwen/golang/src/download/load.go is the test go file

/Users/zhanghongwen/golang/ is the GOPATH

Copied from original issue: microsoft/vscode#16566

@ameissnersofi
Copy link

+1 this issue. All these godef processes really eat up my CPU and don't leave me with much anything else. Please fix this bug!

@ramya-rao-a
Copy link
Contributor Author

@zakokun, @ameissnersofi Did you both recently upgrade to Mac OS X Sierra?

There is a known issue of performance on Mac OS X Sierra. See #503

Run the command Go: Install Tools. That should update all the go tools that the extension depends on which should fix the issue

@ameissnersofi
Copy link

Yes, I did upgrade. I can't remember how long ago, but this all seems to be connected because delve debugger is also having trouble on Sierra.

I'll run this command first thing in the morning and report back. Thanks for responding so quickly!

@zakokun
Copy link

zakokun commented Dec 13, 2016

yes! I updated those tools and it fixed! I can use vscode again. thank you very much~ @ramya-rao-a

@ramya-rao-a
Copy link
Contributor Author

Glad to help. @ameissnersofi Are you unblocked too?

@ameissnersofi
Copy link

@ramya-rao-a yes! I'm sorry, I meant to respond sooner. I've got my team back up and running on vscode again. Thanks so much!!!

@ramya-rao-a
Copy link
Contributor Author

Great, Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants