-
Notifications
You must be signed in to change notification settings - Fork 12
Faster RubyMine
Alistair McKinnell edited this page Oct 4, 2015
·
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
- Use the RubyMine build that uses the experimental JetBrains JVM
Increase Memory
Edit the rubymine.vmoptions file located in ~/Library/Preferences/RubyMine70 as follows:
-server
-Xms2048m
-Xmx2048m (or 4096)
-XX:MaxPermSize=250m
-XX:+UseCompressedOops
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