Skip to content

Faster RubyMine

Alistair McKinnell edited this page Apr 6, 2022 · 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 > Change Memory Settings and give yourself enough memory. I like to monitor memory by enabling the Memory Indicator in the bottom toolbar.

Alternatively navigate to: Help > Edit Custom VM Options... and give yourself enough memory by bumping up the default values for -Xms and -Xmx:

-Xms3g
-Xmx3g

Essentially you want to give RubyMine a JVM with 3g (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