WebStorm is very slow and constantly generates a memory error

I am using WebStorm on Mac 8Gb to edit the source files for the ionic / cordova application. Recently, although my application is very small, WebStorm runs very slowly (it literally takes a few seconds to respond to every keystroke!) And often generates errors from memory.

I assigned 2000 MB, but did he run out of memory?

Why is it so slow? Why does he use so much memory? Is there a function that I can turn off to speed it up?

+8
javascript webstorm cordova ionic-framework
source share
2 answers

The problem is that when we save the file, Ionic redeploys the application that generates some files in the www folder.

At the same time, Webstorm is looking for changes in our project and indexing new things. This makes it so slow and even sometimes enters into an infinite loop.

The solution is to exclude the "www" and "node_modules" folders from the project. I.e:

  • In the left pane of the project, right-click on these folders and select: mark directory as β†’ excluded.
+30
source share

All Articles