Hacker News new | ask | show | jobs
by purplezky 4108 days ago
If you want IntelliJ on windows to be fast:

* change the default launcher to use the idea64.exe instead of idea.exe

* increase the default vm allocation in bin/idea64.vmoptions

-Xms668m -Xmx1692m -XX:MaxPermSize=412m -XX:ReservedCodeCacheSize=246m

* disable the "SuperFetch" service of windows 8 and reboot

2 comments

I would actually set Xms == Xmx, as you can easily fill up your entire heap... why let the JVM manage total heap size in a tool when you can predict the heap size? (For the record I use ~2g Xms and Xmx for Java projects, and ~3g Xms and Xmx for Scala projects).

Also you can ditch MaxPermSize if using Java8, which you should.

but of course if you really want faster compiles, just run linux and install your workspace in an ext4 filesystem on an ssd.