Author Topic: SE cpu usage high  (Read 604 times)

joecar

  • Senior Community Member
  • Posts: 469
  • Hero Points: 9
  • engineer/gearhead
SE cpu usage high
« on: April 23, 2025, 04:30:52 PM »
SE 29.01 hotfix 5

I noticed my laptop's fan running at full speed for an extended time.

I looked at Windows Task Manager, I saw SE using about 20% cpu.
Only one instance of SE was open, just sitting, not editing (not even in focus);
SE process indicator said (when I right-clicked on it): "There are no active background processes".

I disabled background tagging and immediately cpu usage went down to 1%.

This is new behaviour, previously unseen.
« Last Edit: April 23, 2025, 07:54:30 PM by joecar »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7048
  • Hero Points: 535
Re: SE cpu usage high
« Reply #1 on: April 23, 2025, 07:28:37 PM »
 Try to rebuild your workspace tag file like this:

* Project>Retag Workspace...
* Uncheck Retag files in background when possible

If this never finishes, that means that the parser is hanging trying to parse a file. This would cause processing to go to the moon.

joecar

  • Senior Community Member
  • Posts: 469
  • Hero Points: 9
  • engineer/gearhead
Re: SE cpu usage high
« Reply #2 on: April 23, 2025, 07:48:50 PM »
Try to rebuild your workspace tag file like this:

* Project>Retag Workspace...
* Uncheck Retag files in background when possible

If this never finishes, that means that the parser is hanging trying to parse a file. This would cause processing to go to the moon.
Clark, Thanks.

Retagging said: "74 files could not be found" (I had recently switched to a different branch in the git tree)...

so, I removed all files from workspace and re-added the ones that do exist, and retagged (in foreground).

CPU is still at 20%.

joecar

  • Senior Community Member
  • Posts: 469
  • Hero Points: 9
  • engineer/gearhead
Re: SE cpu usage high
« Reply #3 on: April 23, 2025, 07:53:01 PM »
I restarted SE and it looks like it now has quietened down (1%).

Thanks.