-
Notifications
You must be signed in to change notification settings - Fork 12
Faster RubyMine
Alistair McKinnell edited this page Feb 2, 2016
·
16 revisions
Rationale
We want RubyMine to be as fast as possible. There are a number of improvements that can make a big difference to the out of the box experience.
Mechanism
- Increase Memory
- Don't index all project directories
- Disable plugins that you aren't going to use
Increase Memory
Create a rubymine.vmoptions file located in ~/Library/Preferences/RubyMine80 as follows:
-Xms2g
-Xmx2g
Note: if you run out of memory use -Xmx4g to allocate 4g of JVM memory.
Essentially you want to give RubyMine a 2GB JVM. If you have an especially large project and you want to run code inspections for the whole project, you may have to increase the maximum memory allocation to 4GB.
Don't Index All Project Directories
See Exclude Directories. Do not skip this step.