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
Please sign in to leave a comment.
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
I have done that. I've excluded everything but /src and it still occurs.
Please provide logs and snapshots then...
How does one take a CPU snapshot?
please see https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems
Sorry, I clicked on the link after I asked the question.
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.
please let me know the uploaded files names
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
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
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.
>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
we don't need the whole project, it can be a single file you can recreate the issue with plus your package.json
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
Thanks! are there any specific actions/files I can try to recreate the issue?
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.
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').
Thank you! Created https://youtrack.jetbrains.com/issue/WEB-35474, please follow it for updates
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.
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?
Seeing something similar with webstorm 2019.1.1. Logs & description added to the youtrack issue.
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.
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
Having the exact same issues and more. Simple reformatting operations in Javascript freeze the damn thing up all the time. I am fuming right now because I have work to do and WebStorm is doing this. Trying to download an older version now. I believe this bullshit started with the July 30 release.
Is IntelliJ going to address these constantly freezing issues with WebStorm? My co-workers are unable to use your product. Still happening with your 2019 versions.
It might be a different issue. Please report your problem in http://youtrack.jetbrains.com and attach log folder zipped (Help > Compress logs and show in...).
People are giving up and just using other IDE's... it's really sad because I love WebStorm.
For what its worth, my issues were solved with 2019.2
Been happy for past few months. I will be scared to upgrade when the time comes though :)
I guess, re-installing web storm IDE on a regular basis is the key to solve long indexing or freezing while indexing. Once per 6 months should be OK.