High CPU Usage in WebSotrm 2019.2

I'm getting high CPU usage when using WebStorm. It varies between 150% and 300%.

I'm attaching the results of the CPU Usage Profiling:

WS-192.6262.59_dwilches_05.09.2019_15.02.35.zip

I think this issue started when I got rid of my node_modules and recreated it with:

$ mv node_modules /tmp/asdas
$ yarn

 

 

5 comments
Comment actions Permalink

Does the issue occur on project indexing, or later, when indexing is completed?

0
Comment actions Permalink

I had been working with the IDE for hours when that happened, I don't recall seeing any message about indexing at the time.

I closed and reopened the IDE and the issue was gone.

 

0
Comment actions Permalink

Hmm... But re-creating the node_modules folder normally causes file system re-scanning and massive files re-indexing, resulting in high CPU usage

Should you face similar issues while editing your files/when the system is idle (i.e. not while indexing), please try taking new snapshots

0
Comment actions Permalink

Even if the node_modules folder is marked as "excluded", should the CPU usage raise?

In my case I had it excluded.

0
Comment actions Permalink

It's excluded by default, but direct dependencies listed in package.json are added to JavaScript Libraries and thus indexed

0

Please sign in to leave a comment.