Skip to content

Instantly share code, notes, and snippets.

@MadinaB
Created October 25, 2017 13:12
Show Gist options
  • Save MadinaB/6711f768e11027d38ac7c0933ebdea8b to your computer and use it in GitHub Desktop.
Save MadinaB/6711f768e11027d38ac7c0933ebdea8b to your computer and use it in GitHub Desktop.
Make android studio run faster
1) in AndroidStudio's settings > compile enable checkbox named Compile independent modules in parallel.
2) Under Help> Edit Custom VM Options:
-Xms1024m
-Xmx4096m # <------ increase this to most of your RAM
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=440m
-XX:+UseCompressedOops
-XX:+HeapDumpOnOutOfMemoryError
-Dfile.encoding=UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment