mrmlnc / vscode-less

:electric_plug: Less intellisense for Variables and Mixins in all Less files.
https://goo.gl/9myVWD
MIT License
31 stars 17 forks source link

High CPU usage #41

Open teetow opened 7 years ago

teetow commented 7 years ago

After a few hours of uptime, the process Code Helper is persistently around 100% CPU long after any code changes have been made (15 minutes and counting while writing this report).

From what I can tell, vscode-less is the culprit.

ps aux | grep 37586
/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/XXXXXXXX/.vscode/extensions/mrmlnc.vscode-less-0.6.3/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/XXXXXXXX/.vscode/extensions/mrmlnc.vscode-less-0.6.3/out/server.js --node-ipc

This is on OSX.

zhang740 commented 7 years ago

same problem.

xxx              28025 151.5  3.6  3775432 597748   ??  R     5:22下午   2:00.91 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /xxx/mrmlnc.vscode-less-0.6.3/node_modules/vscode-languageclient/lib/utils/electronForkStart /xxx/extensions/mrmlnc.vscode-less-0.6.3/out/server.js --node-ipc
xxx              28256   0.0  0.0  2432804    796 s006  S+    5:23下午   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn 28025
mrmlnc commented 4 years ago

Most likely you have a big project, or something went wrong. Can you provide information about your project or show me how I can reproduce your problem?

goranjviv commented 4 years ago

Hi, I'm having the same issue on Linux. The issue might be triggered by git checkouts. I noticed it after a checkout. I'll report if I'm certain that check outs cause it. @mrmlnc you can try out to reproduce it by checking out a couple branches. Maybe some indexing gets triggered that way?

guanking commented 4 years ago

I'm having the same problem on win10 operation system.