`
fantaxy025025
  • 浏览: 1249556 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类

RubyMine performance optimization

 
阅读更多

 

Set/Increase Memory Available In Rubymine

http://www.williambharding.com/blog/uncategorized/setincrease-memory-available-in-rubymine/

[RUBYMINE_DIRECTORY]/bin/rubymine.vmoptions

Inside you can specify lines like:

-Xms800m
-Xmx1200m
-XX:MaxPermSize=1000m
-ea

These declare maximum memory usage, maximum sustained memory usage, and, uh, some other stuff.

 

#A couple of tips for RubyMine performance optimization

1) By default, RubyMine's jvm max heap size bound is set as 512MB, it's probably be enough if you are running it on a 32bit JDK, but on a 64bit JDK, it might be necessary to bump it up to 1024MB, since the 64bit uses twice as much memory. This will reduce the number of GC collection. Here is some guide on how.
2) More importantly, RubyMine index everything in your project to support text search/refactoring etc. So if you have some huge files that also get changed very often, such as log, spec reports, etc, it could be very expensive to have RubyMine indexing them all the time. Exclude them from RubyMine project structure is probably a good idea.

 

Disabling most of the plugins like CVS Integration, Github, Remote Hosts Access, Ruby Code Coverage, Ruby SpellChecker, Ruby UML, Subversion, Task Management, UML Support gave me a big performance boost.

 

Changing the theme to "Alloy Glass Theme" works wonders on the performance too. Also one can disable "Animate windows" option under the theme selection.

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics