Android Emulator: Failed to allocate memory: 8 even with 8MB RAM(Android Emulator:分配内存失败:8MB RAM 即使是 8MB)
问题描述
我正在尝试启动模拟器,但我不断收到错误 Failed to allocate memory: 8
.
I'm trying to start an emulator, but I keep getting the error Failed to allocate memory: 8
.
这个问题有一些解决方案,将 RAM 从 1024 设置为 512,但是当我将它设置为 8 时,它仍然会因为这个错误而崩溃!
There are some solutions to this problem, setting the RAM from 1024 to 512, but when I even set it to 8 it still crashes with this error!
我该怎么办?
设置截图:
这里是 Windows 给出的崩溃的 emulator-arm.exe 的错误消息:
Here the error message Windows gives of the crashed emulator-arm.exe:
Problem signature:
Problem Event Name: APPCRASH
Application Name: emulator-arm.exe
Application Version: 0.0.0.0
Application Timestamp: 4fe779fb
Fault Module Name: emulator-arm.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4fe779fb
Exception Code: 40000015
Exception Offset: 0014428e
OS Version: 6.1.7600.2.0.0.768.3
Locale ID: 1043
Additional Information 1: ea2b
Additional Information 2: ea2b4716fbf9f89aacc15214fb1537bb
Additional Information 3: 8d2f
Additional Information 4: 8d2f162ccf8522e475fc4fbe036a6efa
我最后一次检查模拟器工作是在更新到 ADT 20 之前和删除所有旧 AVD 之前.
The last time I checked and the emulator worked was before updating to ADT 20 and before deleting all old AVD's.
推荐答案
我遇到过这样的问题.修复它的唯一方法是将其设置为 256、512 或 1024.我不知道为什么它不适用于任何随机值.
I've had problems like this. The only way to fix it was to set it to either 256, 512 or 1024. I have no idea why it won't work with any random value.
这篇关于Android Emulator:分配内存失败:8MB RAM 即使是 8MB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android Emulator:分配内存失败:8MB RAM 即使是 8MB
基础教程推荐
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01