Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime text 3 using massive amount of CPU on idle

I'm running Sublime Text 3 on Windows 10, with all my installed packages disabled. On idle, it is taking up ~31% of my CPU with one file opened. This seems like a ridiculous amount for a text editor - why is this?

like image 410
Kevin Avatar asked Jun 06 '18 13:06

Kevin


People also ask

Why is sublime using so much CPU?

It is due to the index files problem. Just disable that. This can be completely disabled by adding "index_files": false, to your Preferences. sublime-settings (Preference > Settings).

How much memory does Sublime Text use?

Sublime is using 3.5GB of memory for about 100K of 10 open files.


2 Answers

This seems to be caused by indexing:

https://github.com/SublimeTextIssues/Core/issues/537

https://www.sublimetext.com/blog/articles/file-indexing

Try adding

"index_files": false

in your configuration

like image 171
Wamadahama Avatar answered Sep 28 '22 11:09

Wamadahama


Sublime text gives you an interface to check indexing status.

Go to Menu Help -> Indexing status.

enter image description here

like image 41
Samuel Dauzon Avatar answered Sep 28 '22 11:09

Samuel Dauzon