New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue-Volar - hight CPU usage on OSX #1295
Comments
Have you tried TakeOverMode ? #471 |
Hi @sneila, can you reproduce this problem in https://github.com/johnsoncodehk/volar-starter? Will be helpful if you can provide a repro case. |
My MBA (M1) and iMac (Intel) both with latest OS are doing fine. |
My Macbook Pro 2019 with 16GB facing the same problem. As you can see on the screenshot, it takes 109% of the CPU lol (tried to fit all the Command info, so you will need to zoom in to see the CPU usage clearly). But there is no limit actually, sometimes it is around 200%. But sometimes there is no problem at all too. Usually, it goes up only when I'm typing something. In a sec or two, it goes down to 0%. But the problem is that when I'm coding, I'm typing each second, so my Mac is permanently frozen. What I also noticed, it mostly happens when I'm working in a Vite+TS environment. In Webpack+TS or simply Webpack this issue occurs very rarely. Perhaps this info will help somehow 🙏 |
You can increase |
Hi, my VSCODE, after the last update was overheating my Macbook Pro 2019, the fans run havok!.
Initially i thought that Electron/Vscode has something to do.
But once i verified it under the Process Explorer (Vscode), i realised that Volar used 200+ CPU time.
Open Vscode, and a VUE project with VOLAR enabled and it just starts the CPU usage 150%+ on my Mac, without cooling down.
The text was updated successfully, but these errors were encountered: