Archived Read Only Forums > SlickEdit 2013 v18 beta

Slick using 100% of cpu

(1/2) > >>

jporkkahtc:
64bit, Beta 2, Win64.
I noticed that Slick has got 1 cpu core 100% busy.
Slick is still responsive.
When I close slick and start it again the busyness resumes.
Closing the workspace stops the busy, and reloading the workspace resumes the busy.

I only noticed because my laptop fan was running more than usual. It's terrible having so many cores that you never notice when you have a single threaded CPU hog anymore :-)

Matthew:
Sounds to me like your workspace tag file is never getting finished. So it restarts when the workspace is again opened, never completes while workspace is open, lather-rinse-repeat.

We'll want to see if there is some code file in your workspace that may be tripping up the tagging parser. Use the Project > Retag workspace... menu command, and in the dialog that comes up, deselect the "Retag files in background" and "Retag modified files only" checkboxes so that you can see the progress control in the foreground. If that retagging gets hung up somewhere, let us know.

You may want to go into the Tools > Options under Editing > Context Tagging, and turn off the "Update workspace tag file on open" setting temporarily so you can run the above foreground tagging.

jporkkahtc:
OK, I rebuilt all my tagfiles this way -- foreground and all files -- retagging finished without a problem.
CPU continues to be busy.
Background tagging of open files.
Use background thread when possible.
Update workspace on open
Update workspace on activate.
Then I closed the workspace and observed CPU usage go to zero.
When I opened the workspace again the CPU stays busy.

Recycling the VS.exe process doesn't help either.

Dennis:
If the CPU appears to be busy, try turning on Slick-C profiling for a while and then turning it off, that should give us an indication of where SlickEdit is spending the time.

Also, do you have Symbol Coloring turned on?

magerbak:
I also have a similar problem on multiple projects (v18.0.0.13 32-bit with hotfix_se1800_5).

Tried retagging in the foreground (completed), shutdown VS and restarted, CPU for VS process is pegged at 50% (one of two cores). Other times I have seen it consuming over 90%.

The Slick-C profiling screen shot is attached.

I have background tagging on open and activate disabled. Right now this is 100% reproducible on two different projects and makes working with VS almost unusable.

Navigation

[0] Message Index

[#] Next page

Go to full version