High CPU Usage on macOS & dependency resolution failure
See original GitHub issueInfo
- 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:
- Created 6 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same problem +1
@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.