Skip to content

Faster RubyMine

Alistair McKinnell edited this page Nov 18, 2017 · 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

  1. Increase Memory
  2. Don't index all project directories
  3. Disable plugins that you aren't going to use

Increase Memory

Navigate to: Help > Edit Custom VM Options... and be sure you've given yourself enough memory by bumping up the default values for -Xms and -Xmx:

-Xms2g
-Xmx2g

Essentially you want to give RubyMine a JVM with 2g (or more) of memory. 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 by using -Xmx4g.

Sometimes, when there is new release of RubyMine, I'll delete my existing rubymine.vmoptions configuration and re-create it to get the latest configuration. I trust the VM Options from JetBrains... I just want to start with more memory than the default configuration.

Don't Index All Project Directories

See Exclude Directories. Do not skip this step.

Clone this wiki locally