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
Sublime 3, cpu usage #537
Comments
Same here |
Any solution? |
None that I know of. It seems that Yosemite made quite some changes to APIs that Sublime is using and causes a variety of (but mostly performance-related) issues. I don't know how many Yosemite users are affected of these though. |
I'm also having CPU issues. Even after wiping all packages and opening a new window, I get the following: EDIT: another interesting point: after restarting the computer entirely, CPU usage is fine. But over a day of working, at some point it shoots up again for unknown reasons. I'll try and keep monitoring to see if I can notice any pattern to this behaviour. |
not only yosemite is affected - 10.9 here - CPU load skyrockets, sublime gets unresponsive - might be emmet plugin issue tho... (just guessing) |
I had this problem on windows 7. I solved it by closing some windows of my current session. |
Update to my issue - it seemed to have fixed itself for a while, but I'm now having the same problems again. I think I've noticed a pattern though: when I have a second user account open (which is also running Sublime) this issue seems to occur. During the period where I had no problems, my second account wasn't signed in. This might explain why restarting entirely works as a fix, since in the process it logs the second user account off. If I have time, or if anyone else having this problem feels inclined, it might be worth testing whether this is based around having a second OSX account signed in generally, or only when another Sublime process is running on that account. |
This has hit me today. Some of our other developers were complaining about it, but no issues here until this morning. I am running Yosemite 10.10.3 latest beta, and sublime updated THIS morning to Dev Channel build 3076 and the CPU issue started. I am running the emmit plugin, but only 1 user account. One of the other dev s had the issue on mavericks and went back to sublime 2 to make it go away. MBP Fan running way too much. |
I think you are referring to 3076, and yes, that build seems to have issues which is why its download was removed from the page and is not updated to anymore. |
Thanks @FichteFoll you were correct. I received the update notification and just hit "of course". I'll revert. |
I am running ST3 build 3083 which cam e out just today and in its changelog there was mention of the high cpu usage fix and so i went for it. However, my CPU usage still shoots up on a regular basis (with some intervals of low cpu usage in the middle) I ran opensnoop on my mac and it shows ST3 opening a lot of files from my project. Initially I thought it was just indexing for the first time and I let it run but now after 6 hours it continues to do the same! Please let me know if I can provide any more information that could help in solving/ getting to the root cause of this issue. |
I am also having this issue on build 3083. Fresh install of OS X and Sublime :( |
For me just having ST3 Build 3083 open for more than a few minutes sees CPU usage climbing well over 100% on my MacBook Pro with Yosemite 10.10.3. It seems to be worse the more folders (and there depth and file count?) in the sidebar. I never noticed the CPU usage problem on prior versions of OS X (10.9.x and lower). |
A machine restart seems to solve the issue temporarily, though it does reappear randomly after some time. |
that's not a solution |
same here, extremelly consuming cpu |
Same here. Any way to tell if this is due to a plugin? I'm not in a clean install, but seems to happen for certain projects more than others, rendering specific project unusable. It takes like two seconds to move the cursor due to my CPU being maxed out. ST2 has no issues. I tried the |
Same issue here. |
Same here. Windows 7 build 3083. There are 2 sublime text processes running each at 25% cpu. |
Pinging this thread again. Infuriating problem that is seeming totally random. Midway through work and ST decides it's going to take 3 second to type each character for some reason. 😩 |
Not seeing it here but in email following this issue Igor A. posted a link to https://www.sublimetext.com/blog/articles/file-indexing which helped me see the problem. Was definitely the indexing. When I opened my console there was a never ending list of |
@runeimp Lol. I thought that I was wrong about it because source of my problem is killing of python.exe (started by plugin_host.exe — sublime's proc.). But it's glad to hear that it works! |
runeimp's comment fixed my issue on windows 7 build 3083. Add "index_files": false to user preference settings. The CPU usage dropped from 80% to 4% |
I had the same problem and adding |
same here. ;-( |
@igoradamenko I'm not sure, but looks like it was indexing. Thanks for pointing me! |
I was having the same troubles and wanted to note that adding Thanks @runeimp and everyone else! |
experienced same problem TAT, OSX Yosemite 10.10.2 |
👍 Solution: #537 (comment) "folder_exclude_patterns": [
"node_modules",
"vendor",
"pages-desktop"
] @igoradamenko, it seems yes
|
hey, friend, @zxqfox )) |
SublimeText 3, 3114.
|
Since this appears to have become a huge pile of various issues, mostly related to indexing, I'm closing and locking it. If you are having high CPU usage, it is most likely due to ST indexing your (probably huge) project. Check https://www.sublimetext.com/blog/articles/file-indexing for details and potentially add the |
Hello.
Mac OS Yosemite, open sublime text 3 and this is the result http://screencast.com/t/uc7SEM0dv
Reproduce not always.
Sometimes reproducing after plugin installation.
With Mavericks was good.
The text was updated successfully, but these errors were encountered: