WebStorm IDE Constantly Freezing (cannot get any work done :( )

I've been using WebStorm, trouble free, for years and love it! I recently installed the latest version of WebStorm (2018.2.4) and my IDE constantly freezes up when I do a variety of tasks. I'll be typing some code and it will lock up. I'll be selecting an area to copy and it will freeze up. I will try to copy and paste and it won't. In addition to installing the latest version of WebStorm, I'm also working on a 'new' (not new new, but new to me) project - which could somehow also be the cause.

I've scoured the web and can find no solution that works for me. I tried excluding the ng-modules directories in my project, thinking that perhaps indexing was causing the problem. That seemed to work at first, but that is a bit problematic as I missed out on things like type ahead. I've tried Power Save mode, and that too seemed to help a bit, but that too has its issues.

Is there some simple solution to my problem? Please Help. As it stands, I'm going to have to move to a different IDE.

Environment: Mac, macOS Mojave 10.14

Project specifics: Angular 6, Yarn

24 comments

Please make sure to exclude the build target directories (build, dest, etc.) from project (Mark directory as/Excluded).
If it doesn't help, please try taking CPU snapshots when the issue occurs (https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems) and provide them along with logs and thread dumps from your log folder

0

I have done that. I've excluded everything but /src and it still occurs.

0

Please provide logs and snapshots then...

0

How does one take a CPU snapshot?

0

Sorry, I clicked on the link after I asked the question.

0

I believe I have uploaded the requested files. Unfortunately, when the issue occurs, it completely locks up the UI, so I really only get one shot at capturing it.

0

please let me know the uploaded files names

0
Upload complete!
Uploading...
File uploaded: WS-182.4505.50_mark_11.10.2018_11.14.19.zip
Uploading...
File uploaded: idea.log
Uploading...
File uploaded: idea.log.1
Uploading...
File uploaded: idea.log.2
Uploading...
File uploaded: threadDump-20181011-111303.txt
Uploading...
File uploaded: threadDump-20181011-111258.txt
Uploading...
File uploaded: threadDump-20181011-111253.txt
Upload complete!
0

Let's try to make that a bit easier on you... I've zipped up the files and uploaded them as 20181111_mw_ws_freeze.zip

0

your logs/dumps show StackOverflowError on types resolving; it's a serious error that impacts the performance and has to be fixed, but unfortunately it's not quite clear what is causing it, we need a way to recreate the issue. Please can you share a project/files we can use to reproduce it? Any help would be appreciated

0

Unfortunately I can not share the project/files causing this issue. I will see if I can reproduce the issue with a different project, but I suspect it has something to do with this one. If it makes any difference, this project was originally created using Visual Studio code. The other difference with this particular project is that it utilizes ngrx. I don't know if any of that is relevant, but thought I'd pass it along.

0

>If it makes any difference, this project was originally created using Visual Studio code. The other difference with this particular project is that it utilizes ngrx. 

 

this doesn't make any difference... the problem is specific to certain code

0

we don't need the whole project, it can be a single file you can recreate the issue with plus your package.json

0

We have uploaded a full-project zip (except for node_modules that can be installed with yarn). The filename we uploaded is: WebstormCrash_2018_1024_1049.zip

0

Thanks! are there any specific actions/files I can try to recreate the issue?

0

It seems to happen when touching any ngrx related file such as a .reducer or .effect file. It's not 100% reproducible, but has happened when editing code or sometimes simply selecting code. I will spend a bit of time trying to provide some more helpful steps. If you mess around with any of those files, you are likely to encounter the issue.

0

More info - I'm getting it to lock often when I'm editing the controller-table.selector.ts file and the getControllerTableFilteredBySelectedSites selector. Trying to navigate via mouse click (command+click on my computer) on something like EntitiesSelectors.selectors.getControllerList will also often lock up WebStorm.  Note: it is MUCH more likely to occur when running the debugging the project (after doing 'yarn start').

0

I tried the 2018.3 EAP today, and it still seems to crash. Do you know if the fix should be in that EAP? The EAP also runs into high memory issues on that project.

0

The latest EAP (WS-183.4139.35) should incliude the fix; if it still crashes for you, please can you provide the log folder zipped?

0

Seeing something similar with webstorm 2019.1.1. Logs & description added to the youtrack issue.

0

Yep getting pretty bad.  2019.1.1 also seeing same issue.

 

CPU gets smashed.  Have to kill the process and fingers crossed it doesn't happen again.  Seems to happen mostly when it is trying to auto complete.

 

I feel like a BETA tester.

0

It's a different issue. Please don't add comments to age-old threads, create a support ticket, attaching CPU snapshots taken when the CPU usage is high and your log folder (https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs) zipped

0

Please sign in to leave a comment.