I use WebStorm 11 and developing in Angular2. The ng serve is working on background from the cmd and the CPU is on 1% work.
When the WebStorm is opening, the CPU jump to 30%-60% and when he start indexing it goes to 100% until the WebStorm crushes.
dist
and node_modules
folders but
the indexing still takes too long.WebStorm.exe.vmoptions:
-server
-Xms128m
-Xmx1012m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=512m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
Maximum size of files (in kilobytes) that WebStorm is able to open. Working with large files can affect editor performance and increase memory consumption. The default value is 20000 .
I have frequent issues with my laptop fans going 100% and other tasks freezing because IntelliJ uses almost 100% of the CPU to reindex, to build the project. Even on small projects.
When Pycharm performs some operations such as indexing, it starts draining the entire CPU resources. While this may achieve the operation faster, it heats up the CPU resulting in the fan running at full speed, and the other application becoming non-responsive.
For people that aren't already, make sure you aren't indexing your dist or www folders.
Right click the folder -> "Mark Directory As" -> "Excluded".
Saved me!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With