简体   繁体   English

Android Studio 模拟器保存状态慢的原因是什么?

[英]What is the cause of Android Studio's emulator being slow to save state?

My Android Studio emulator is very slow to turn off.我的 Android Studio 模拟器关闭很慢。

When I try to shut down the emulator, I am always greeted with a dialog box stating当我尝试关闭模拟器时,我总是看到一个对话框,说明

Do you want to save the current state for the next quick boot?Note: Recent saves seem to have been slow.是否要为下一次快速启动保存当前状态?注意:最近的保存似乎很慢。

My emulator configuration is the following我的模拟器配置如下

  • Device: Pixel 2 XL API P设备:Pixel 2 XL API P
  • RAM: 6144 MB内存:6144 MB
  • VM Heap: 256 MB虚拟机堆:256 MB
  • Internal Storage: 4096 MB内部存储:4096 MB
  • SD Card: 100 MB SD 卡:100 MB

What could be the cause of the slow emulator shut down?模拟器关闭缓慢的原因可能是什么?

The cause was the large amount of allocated RAM, as noted by Uriel Frankel.正如 Uriel Frankel 所指出的,原因是分配了大量 RAM。 I halved the amount of RAM to 3 GB and the warning went away.我将 RAM 量减半至 3 GB,警告消失了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM