RubyMine WebStorm JVM Settings

Here’s a few links to articles on configuring the JVM settings for JetBrains RubyMine and WebStorm:

Any other advice?

What’s the best tuning strategy?

I’m using this, which is the default, but changing the -Xmx value.

-Xms128m
-Xmx2048m
-XX:MaxPermSize=250m
-XX:+UseCompressedOops

This makes a HUGE difference in the performance of the debugger.

Be sure you DO NOT edit the files in /Applications as they get overwritten when you upgrade.

Instead, this script works for me to edit the files. Substitute your favorite editor for vim.

cp /Applications/RubyMine.app/Contents/bin/rubymine.vmoptions ~/Library/Preferences/RubyMine70

vim ~/Library/Preferences/RubyMine70/rubymine.vmoptions

cp /Applications/WebStorm.app/Contents/bin/webstorm.vmoptions ~/Library/Preferences/WebStorm10

vim ~/Library/Preferences/WebStorm10/webstorm.vmoptions