Last active
August 29, 2015 14:16
-
-
Save ntkachov/220c36b4ee77661b3f50 to your computer and use it in GitHub Desktop.
Increase Android Studio memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Note: Change the values to your system. On my 4Gb Ram MacBook Air, I use | |
#-Xms:128m -Xmx1250m XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=96m | |
#These values are for a 16Gb ram Mac | |
#Run this for the standard android studio | |
echo -e "-Xms1g \n-Xmx8g \n-XX:MaxPermSize=1g \n-XX:ResevedCodeCacheSize=500m" > ~/Library/Preferences/AndroidStudio/studio.vmoptions | |
#Run this for Android Studio 1.2 preview | |
echo -e "-Xms1g \n-Xmx8g \n-XX:MaxPermSize=1g \n-XX:ResevedCodeCacheSize=500m" > ~/Library/Preferences/AndroidStudioPreview1.2/studio.vmoptions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment