Wednesday, 1 July 2015

How to Speed Up Android Studio

If you want to speed up the studio you need to to this
Note: Minimum 8GB RAM needed to do this

Windows :

  1. Open this file in any Editor with administrator Permission

    C:\Program Files\Android\Android Studio\bin\studio64.exe.vmoptions
    Path may get vary if you install studio in different path

  2. Modify the Following Lines

    -Xms1024m
    -Xmx2048m
    -XX:MaxPermSize=1024m
    -XX:ReservedCodeCacheSize=512m


Ubuntu/Linux:

  1. Open this file in any Editor (with root Permission when error on save)

    "path-to-android-studio-folder"/studio64.vmoptions

  2. Modify the Following Lines

    -Xms1024m
    -Xmx2048m
    -XX:MaxPermSize=1024m
    -XX:ReservedCodeCacheSize=512m


Source