High Memory Usage and Freezing in 2017.2.1

Hi All,

There seems to be quite a few posts related to high CPU usage; however, I'm experiencing high memory usage which is freezing the program.

I'm running a fairly high-powered machine - Windows 10 Pro Creators Edition, Intel Haswell i7, 32GB memory, 250GB mSata, dual Nvidia 780 graphics cards. Most recently, I was editing a markdown file (a GitHub Gist) when Webstorm froze. My memory usage was almost 1GB when I killed the process. My CPU usage and temperatures are low when I'm using Webstorm, it's just this memory leak issue that's been happening a lot since I upgraded to 2017.2.1.

I'm running a fairly lean setup with respect to plugins, and the only 3rd party plugins I'm using are String Manipulation and Material UI Theme.

This was happening non-stop a few days ago, and I found that uninstalling the CodeGlance plugin (the one that mimics Sublime's minimap) seemed to resolve the issue. I was working on a React app yesterday with no issues, but then this morning it froze again.

Is anyone else experiencing memory issues and freezing? Any best practices you can share for making the program run smooth? 

Thanks in advance!




>My memory usage was almost 1GB when I killed the process. 

Do you have any errors related to memory usage (outOfMemory errors, prompts to increase the heap size)? The IDE itself can't consume more than Xmx value (default is 750M) - once this limit is exceeded, outOfMemory error is thrown. Note also that memory usage in OS task manager normally differs from Java application memory usage. OS Task Manager is reporting the overall memory used by Java process which consists of Java application heap + JVM resources + whatever else, it's a native OS process vs. Java application running in JVM.

Please try getting thread dumps (https://intellij-support.jetbrains.com/hc/en-us/articles/206544899-Getting-a-thread-dump-when-IDE-hangs-and-doesn-t-respond) when the IDE stops responding, and provide them along with idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)


Elena thank you for the quick reply!

I've opened an issue on YouTrack and attached a zip of the thread dumps and log files: https://youtrack.jetbrains.com/issue/WEB-28303

Also, thank you teaching me about the memory usage. You are correct, I usually see memory usage around 400mb in the IDE and much higher numbers in the task manager.

After combing through the thread dumps, it looks like this issue is related to the Markdown Support plugin as the IDE is throwing "unable to get stub builder for org.intellij.plugins.markdown.lang.MarkdownFileType" errors. There are numerous comments on the plugin repository page about this. For now, I will uninstall the plugin.

I'm also seeing multiple "unable to get stub builder for com.intellij.json.JsonFileType" errors as well.


Thanks for update and for logging the youtrack ticket:)


Regarding your logs: I'd suggest re-enabling IntelliLang plugin. WebStorm uses language injections nearly everywhere, so disabling this plugin could lead to unpredictable results


Elena that is a great tip, thank you.

Just out of curiosity, how come it is a plugin if it is so crucial to the IDE?


well, I'd say - for historical reasons:) Note that most of IDE functionality is implemented as plugins. And IntelliLang is bundled and enabled by default


Well now I know!

Thanks for all your assistance today.


Please sign in to leave a comment.