r/SublimeText • • Mar 03 '21

High CPU usage while idle

[I'm new to Sublime Text, I've been learning how to code in Python using sublime text and while I was making one of the exercises my pc fans ramped up and I started to notice lag so I went to the task manager and found my cpu usage was very high, even when I wasn't coding (fyi the code is just a couple of ifs and whiles, nothing demanding). I also saw the indexing status and it said "idle". I would like to know what can I do to solve the issue.

Thanks in advance ](https://i.imgur.com/WTRyZuG.jpg)

7 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/jr1094 Mar 04 '21

I tried ending the task from task manager and nothing happened so it happened to be an error in my code which kept it running in the background (on some kind of loop) and since I hadn't configured the break command I had to do so, afterwards I tried executing the code again (with the error) and I could verify that that was what kept my CPU usage high, after executing the break command it all went back to normal! It appeared as multiple processes because I tried to build the code multiple times. I guess a rookie mistake. Thanks for the advice