Is there a way to limit indexing CPU percentage?
I notice that PHPStorm indexing runs my CPU up to 70% and higher, and I'd prefer this be limited to 50%. I've seen other apps offer the option to limit (I think it's a priority thing in Windows), but I'm not seeing how to do that. My laptop's fan maxes out and the indexing may be contributing to slowdown or BSODs.
请先登录再写评论。
There's no way to set a certain percentage, but you can limit the number of threads that indexing occupies at Help | Find Action | Registry | caches.indexerThreadsCount.
So I wasn't looking to set it to a certain percentage, just have it not go above 50%.
I found indexerThreadsCount to be set to 4 apparently:
Is 4 threads typically supposed to take up 70-90% CPU on an i7 Windows computer?
I suppose I should try 3? Then 2, then 1 to see how much percentage it uses?
It seems that the description is not correct, please check this comment.
So, you can enter the number of actual threads your CPU has divided by two, and that is supposed to limit the CPU load to 50%.
In
for example for PHPStorm2022.3, in the file:
add the line:
Thanks to Eugene Morozov and Juan_Lebrijo for the answer