PhpStorm 2022.2.1 and CPU usage

Hi,

The new update seems to fix the freezing problem, however I'm concerned by the CPU usage which is constantly high, and the IDE doesn't look to be doing anything

There is no indexing operation in progress or anything else in background so I don't understand.

I've provided logs here : https://intellij-support.jetbrains.com/hc/en-us/requests/4237613

Edit: the CPU usage suddenly dropped to 0 but still I wonder why it was happening

Kind regards

17 comments
Comment actions Permalink

You can check what PhpStorm is doing at any given moment at Help | Diagnostic Tools | Activity Monitor.
It makes sense to continue this conversation in the ticket you've submitted.

0
Comment actions Permalink

I have the same problem. Everything was running fine before the update.

0
Comment actions Permalink

Please reproduce the problem for at least half a minute while capturing CPU snapshot. Here's an article describing this, see the "The CPU usage is high or IDE is slow" section. You can then share the snapshot via https://uploads.jetbrains.com/. Also run Help > Collect Logs and Diagnostic Data and share/upload it as well.

0
Comment actions Permalink

CPU snapshot
Upload id: 2022_09_12_23eBPsYGrsa2JyoEapG5Lu (file: PS-222.3739.61_pic_12.09.2022_08.08.26.zip)
Diagnostic logs:
Upload id: 2022_09_12_pFKorepjHtFFY8cLNNzjon (file: phpstorm-logs-20220912-0812048886065928941704558.zip)


I use Windows 11 with WSL2

0
Comment actions Permalink

Thanks. The "Native" CPU load from IDE itself was just 10%. The rest is appears to be caused by NodeJS. Please try disabling NodeJS integration tools in your project & check which one is causing the load.

 

0
Comment actions Permalink

Hello,

Same problem on PHPStorm 2022.3 here with top at over 500% usage. 

On MBP mid-2015 16go ddr / 2.8Ghz i7

0
Comment actions Permalink

Cmonard, it seems that PhpStorm was indexing your sources when you took the screenshot. How did it go after indexing was finished?

0
Comment actions Permalink

This happens constantly to me several last releases (2022.2/3, don't sure because don't track it really)

After restart it usually helps for a while

CPU profiling - Upload id: 2023_01_17_2C2AFj5rYiMBUsFS6fXG27 (file: PS-223.8214.64_rush_17.01.2023_22.21.30.zip)

0
Comment actions Permalink
Roman Kunashko, according to the screenshot, the activity is generated by the VCS log. Do you have the Git tool window open when you see the load?
If not, do you maybe see the Git log indexing process in the status bar?
0
Comment actions Permalink

Eugene Morozov

> Do you have the Git tool window open when you see the load?

No, but it was opened before. But the active project has really new git repo with maybe 20 commits or so, not sure that it should generate so much load.

> If not, do you maybe see the Git log indexing process in the status bar?

No, it didn't have any indexing running.

0
Comment actions Permalink

Eugene Morozov it's still does it but i notice it happens on large file (over 4700 lines) 

I will ask ppl in my team to make smaller files 😄 


0
Comment actions Permalink

Hello,

With the latest version I also have a high CPU usage. There is no apparent process running in the background, not even indexing. If I close all tabs (not the IDE itself) it stops. It is random, it is not happening everytime but when it does, it can freezes the entire computer for minutes.

Here is a screenshot of the activity monitor

I can't see any sign of a progress bar when it happens.

Note that I have Git and TortoiseGit installed on my laptop.

I also see a lot of "threadDumps-freeze" folders in the log directory.

Kind regards

0
Comment actions Permalink

Daniil Maslov I have a similar problem with "Plugin JavaScript and TypeScript"  Upload ID: 2023_01_25_7Xtppwi4wp4QiGatKQJR1W

0
Comment actions Permalink

What version of PhpStorm are you using?

0
Comment actions Permalink

Feel free to follow WEB-57048.

0

Please sign in to leave a comment.