Ive been trying to import my android project into a new computer with Android Studio 0.5.2 after each gradle build i get:
Out of memory: Java heap space. Configu
You can also got to: Help > Edit Custom VM Options...
custom Android Studio VM options, see http://tools.android.com/tech-docs/configuration
-server
-Xms512m
-Xmx2048m
-XX:ReservedCodeCacheSize=720m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=100
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:MaxJavaStackTraceDepth=-1