March 11th, 2017
12:08 pm
Posted under IntelliJ & WebStorm
Permalink
Tags Tip, Tuning
I hit issues with Webstorm, pregnant pauses and hanging for a few seconds.
The following points/posts offer help on tweaking:-
- Firstly it helps to see current VM usage. This is not on by default but if you tick Show Memory Indicator in Settings/Preference/Appearance it will then show at the bottom right of the status bar.
- VM can be tuned by editing the VM options as per this post here, but note that bigger is not necessarily better. Some of the hanging can be caused by excessive Garbage Collection when too much memory has to be GCd in one go. This post here goes into this. The tuning process can be informed by checking the memory indicator to see what you actually use.
- Excluding unwanted directories from indexing is important – see this post for details on doing this.