从今天开始,当我尝试在2.3.3 Android平台上运行NetBeans中的应用程序时,它向我显示:
无法分配内存:8
此应用程序已请求Runtime以不寻常的方式终止它.有关更多信息,请联系应用程序的支持团队.
并且模拟器不想启动.
这是我第一次看到它,并且google没有相关信息,我甚至尝试了两个版本的NetBeans 6.9.1和7.0.1,仍然是同样的错误.
当我尝试从Eclipse运行我的WXGA800模拟器时,它会给出这样的错误
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Run Code Online (Sandbox Code Playgroud)
我也检查了以下链接
我已经尝试在模拟器中减少RAM大小并增加Java堆大小和ramsize但我仍面临同样的错误.
我一直在运行我的第一个Android应用程序的问题.昨天,我接近运行它,但当我遇到这个错误时,我的快乐破灭了:
emulator-arm.exe has stopped working
Run Code Online (Sandbox Code Playgroud)
我该怎么办?我想运行这个'Hello World'
我的控制台显示:
[2011-07-28 10:46:52 - HelloAndroid] Android Launch!
[2011-07-28 10:46:52 - HelloAndroid] adb is running normally.
[2011-07-28 10:46:52 - HelloAndroid] Performing com.bestvalue.hello.HelloAndroid activity launch
[2011-07-28 10:46:52 - HelloAndroid] Automatic Target Mode: Preferred AVD 'my_avd' is not available. Launching new emulator.
[2011-07-28 10:46:52 - HelloAndroid] Launching a new emulator with Virtual Device 'my_avd'
[2011-07-28 10:47:13 - Emulator] emulator: emulator window was out of view and was recentred
[2011-07-28 10:47:13 - Emulator]
[2011-07-28 10:47:14 - HelloAndroid] …Run Code Online (Sandbox Code Playgroud) 我想使用1024MB或更大的RAM大小,但当我尝试启动我的虚拟设备时,我收到此错误:
Failed to allocate memory: 8
Run Code Online (Sandbox Code Playgroud)
经过研究,一些对我不起作用的解决方案是:
系统规格:
我使用的是Android 4.2
我正在尝试启动模拟器,但我不断收到错误Failed to allocate memory: 8.
有一些解决这个问题的方法,将RAM设置为1024到512,但是当我将它设置为8时,它仍然会因此错误而崩溃!
我该怎么办?
设置屏幕截图:

这里给出了崩溃的模拟器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
Run Code Online (Sandbox Code Playgroud)
我最后一次检查和模拟器工作是在更新到ADT 20之前和删除所有旧的AVD之前.