|
Android studio 1.0.2 The default maximum memory is 750M, so run up very card, unbearable, machines are not solid state drives, and finally found, the default value can be modified to find in the android studio directory: studio64.exe.vmoptions file, the green part of the modified parameters (-Xmx1050m), the default parameter to 1050MB, so run up is very smooth, and if that is not smooth, you can change higher:
-Xms128m
-Xmx1050m
-XX: MaxPermSize = 350m
-XX: ReservedCodeCacheSize = 96m
-ea
-Dsun.io.useCanonCaches = False
-Djava.net.preferIPv4Stack = True
-Djna.nosys = True
-Djna.boot.library.path =
-Djna.debug_load = True
-Djna.debug_load.jna = True
-Djsse.enableSNIExtension = False
-XX: + UseCodeCacheFlushing
-XX: + UseConcMarkSweepGC
-XX: SoftRefLRUPolicyMSPerMB = 50
-Didea.platform.prefix = AndroidStudio
-Didea.paths.selector = AndroidStudio
If this setting does not take effect in the File-> Ivalidate Caches, select Ivalidate and Restart it would take:
Finally, in the Explorer, you can see, studio64.exe memory occupied instantly rose to more than 1GB. |
|
|
|