本文介绍了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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 00:57