Sublime Forum

Sublime Text consuming very high CPU Usage

#1

Hi Technical Support,
When I open Activity Monitor on my mac it is showing %CPU of sublime Text editor is 92%.
I am running around 200 lines of code which is written in c++. I don’t now why it is consuming so much of CPU Usage.I forced quit sublime text but after sometime it start consuming this much of CPU Usage. It is installed on my Mac having good specs.

Please Help me.

0 Likes

#2

Can you check the indexing status, under Help > Indexing Status…? Have you tried reverting to a freshly installed state?

0 Likes

#3

I just done ‘reverting to a freshly installed state’. If the issue continues then I will get back to you.

Thanks for the Help.

0 Likes

#4

I have done ‘reverting freshly installed state,’ but the problem persists. I am uploading here the screenshots of Activity Monitor(Setup which is a c++ file running in sublime text consuming 98.1% CPU) and Indexing Status.

@bschaaf Please Help

0 Likes

#5

Does running this outside of Sublime result in the same cpu usage ?

0 Likes

#6

Is “Setup” your own C++ code? If so, this isn’t an issue with Sublime Text, but rather that you have an infinite loop or similar. If you’re using a build system you can use Tools > Cancel Build to kill that process.

0 Likes

#7

@bschaaf Thanks for the help.

0 Likes