question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

High CPU Usage on macOS & dependency resolution failure

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS 10.13.3 - MacBookAir6,2
  • Vetur version: 0.11.7
  • VS Code version: 1.20.0

Problem

From time to time I will encounter high CPU usage as soon I try to resolve a dependency (ctrl-click -> select ‘go to definition’) in a .vue file. The ‘Code Helper’ process will at that point be around 90% CPU until I kill the process or quit Visual Studio Code.

At the time this happens no code dependencies can be resolved. For example, the following type of import will sometimes resolve in the dependency not being found and being in a stuck:

import CrudView from '../../components/CrudView';

Reproducible Case

I haven’t been able to establish a pattern, though would appreciate any suggestions that could help me identify which code might be causing the issue, which I could then share with you.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
negopecommented, May 16, 2018

same problem +1

0reactions
octrefcommented, May 17, 2018

@ajmas Thanks - if you do manage to narrow down to a repro case where this constantly happen, feel free to reopen the issue or open a new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Ways to Fix High CPU Usage on macOS - MakeUseOf
First, you should double-check for any application updates, as this can be the quickest way to resolve an issue. If your software is...
Read more >
High CPU usage MacOS #897 - microsoft/pylance-release
The Output from Python Language Server appears to keep looping over the same error (attached file). Python Language Server Output.txt. Also see ...
Read more >
2021 Macbook Pro 14" Windowserver high memory/cpu usage.
Sounds like two issues. WindowServer and a memory leak. We were having the WindowServer runaway CPU usage - took a lot of trial...
Read more >
How to Fix High CPU Usage on macOS 10.15 Catalina
Sometimes, when macOS 10.15 receives updates, especially security updates, it may result in high CPU usage. This update not only slows down your...
Read more >
Why is kernel_task using so much CPU? - Ask Different
CPU usage has nothing to do with this, as a hot CPU is throttled by ... 2015 Macbook Pro, I work remotely and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found