3

I noticed that my MacBook gets hot and noisy (fans) when using VS Code (v1.31). The Activity Monitor shows the process Code Helper using more than 100% of CPU. It started happening with one repository which is huge. Only one window opened, no files opened, and it always uses more than 100% CPU.

Checking in Microsoft/GitHub, there was an issue reported but they closed it saying "This issue has been closed automatically because it needs more information and has not had recent activity." , but it is still an ongoing issue. I tried some of the recommendations in the comments but didn't work.

Does anybody has more info and/or know how to avoid this? Is it possible to make some configurations for VS Code to not burn the MacBook?

  • While this is not explicitly a programming related question you might have a better audience for this type of question at stackexchange.com. As that is a board explicitly for programmers an d questions about programming. Just a thought. – Steve Chambers Feb 18 at 14:48
  • 1
    Having the same issue. I have a very large project open and it's using 300% CPU right now, even though it's not doing anything. – Tim Vermeulen Feb 26 at 7:52
  • It since seems to have stopped doing whatever it was doing. I don't know what it was doing as I disabled most extensions, but it's not using any significant resources at the moment. – Tim Vermeulen Feb 26 at 19:38
1

The behaviour you describe could either be a bug in VS Code or it is intended behaviour simply because the numbers of files you have require large amounts of CPU time to process. I strongly suspect that the problem is a bug.

The issue you have found have the same externally observables as your problem, i.e. the CPU usage of Code Helper is very high. However there could be many different reasons for that to happen. Therefore it is not a problem that that specific issue has been closed for outside comments.

I would highly suggest opening a new issue instead. Go to this page:

https://github.com/Microsoft/vscode/issues

And click the "New issue" button. Select that you want to file a "Bug report". Then please describe everything carefully, including which of the recommendations you have tried that did not work.

Hopefully the VSCode team will be able to fix the bug and release a new and fixed version.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .