Skip to content

Instantly share code, notes, and snippets.

@felixtriller
Created December 8, 2016 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felixtriller/2f4d488dd4a12e4305fd6e680a9c78a9 to your computer and use it in GitHub Desktop.
Save felixtriller/2f4d488dd4a12e4305fd6e680a9c78a9 to your computer and use it in GitHub Desktop.
speed up rubymine
# ~/Library/Preferences/RubyMine2016.<VERSION>/rubymine.vmoptions
-Xms2g
-Xmx4g
-XX:ReservedCodeCacheSize=240m
-XX:+UseCompressedOops
# Restart RubyMine
  • Exclude folders from indexing (project tree -> right click on folder -> Mark Directory as -> Excluded)
    • tmp
    • log (this is the biggest benefit)
    • coverage
  • Increase VM size, see rubymine.vmoptions.
@romankonz
Copy link

another easy way to set custom vm options is

cmd+shift+a (action menu) -> type "edit custom vm options"

or

help -> edit custom vm options

it will create a rubymine.vmoptions file with default values if it does not exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment