Sublime Forum

HIgh CPU burn

#1

Since I updated sublime a few weeks ago(Build 3114) it seems to constantly churn my CPU for no apparent reason.

This is on windows 8

I see 4 sublime.exe programs running, each using ~12.5% of CPU. It does this even when I"m not using sublime(minimized etc).

Even if I only have 1 window open, it still shows 4 sublime.exe programs burning away.

It will stop eventually, but soon enough it starts up up again, burning my CPU, causing the fan to go on etc.

I am going to have to stop using sublime if I can’t get this to go away…

Thanks

0 Likes

#2

Those processes are indexers, scanning all code in your project for functions, classes, etc. The index provides Goto Definition and the project-wide symbol list.

You can reduce the number of indexer processes or turn it off altogether in settings.

It will run through your code once to build the index and then scan files that change as they change. Each time you add a new folder to Sublime Text, it will scan it. Also, each time the syntax definitions are changed (such as when Sublime Text is updated), the new, improved syntaxes will be used to reindex.

1 Like

#3

Thanks wbond,

I think there might be something broken with the indexers, as it is running all the time, and I"m not adding folders, or even files.

I’ll just turn the indexing off for now–

0 Likes

#4

Look at your console log to see if there are any messages. There aren’t any known issues with the indexer at this point, so if you think you’ve found a bug, please provide any info you can.

0 Likes

#5

If you feel that indexing is happening when it shouldn’t be, then you can enter this in the console to get a report of what the indexer is actually doing:

sublime.log_indexing(True)

Also there’s an (easily missed!) progress indicator in the status bar while indexing is in progress.

2 Likes