IntelliJ

Snippets and tips for the most intelligent Java IDE (and also WebStorm which is basically the same).


idea.vmoptions

This snippet boosts up the speed of IntelliJ a lot. Make sure to adjust the RAM allocation to fit your system.
-server
-Xms4g
-Xmx8g
-XX:NewSize=1g
-XX:MaxNewSize=1g
-XX:+UseParNewGC
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-XX:ReservedCodeCacheSize=64m
-XX:-TraceClassUnloading
-ea
-Dsun.io.useCanonCaches=false