Friday, May 23, 2014

Increase your HEAP SIZE in RubyMine


$ (FNAME=$(grep RUN_PATH `which mine`|head -n1|awk '{print $3}'|tr -d "'")/bin/idea.vmoptions;sed -i -e "s/-Xms128m/-Xms1024m/" $FNAME;sed -i -e "s/-Xmx512m/-Xmx2048m/" $FNAME;sed -i -e "s/-XX:MaxPermSize=250m/-XX:MaxPermSize=1000m/" $FNAME)


Original Settings

For default installs, you should be able to find the settings file here: /Applications/RubyMine.app/bin/idea.vmoptions

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



Notes

If you get the following error message, check your settings for a typo:


$ mine
$ LSOpenURLsWithRole() failed with error -10810 for the file /Applications/RubyMine.app.


No comments:

Post a Comment