Windows 10 (64bit)
Processor: Intel Core 3.10 GHz
RAM 8GB
Android Studio 3.0.1
Java 1.8
Gradle 4.1.
In c:\Users\myuser.AndroidStudio3.0\studio64.exe.vmoptions
# custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html
-server
-Xms256m
-Xmx3g
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djna.nosys=true
-Djna.boot.library.path=
-da
In gradle.properties:
org.gradle.jvmargs=-Xmx1536m
When I run my application on device ---> all work fine. Nice.
But when I start on this emulator (API 27):
all work very slow.
Here my task manager (when emulator was started).
As you can is available ONLY 638 MB
How I can fix this?
Check sdk
is it uses Intel HAXM
!
and add more RAM
and VM Heap
, Emulated Performance Graphics
is Automatic
Or use template device - with high-performance in API 27 case - like Google Pixel series.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With