分配内存失败:8 [英] Failed to allocate memory: 8

查看:21
本文介绍了分配内存失败:8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从今天开始,当我尝试在 2.3.3 Android 平台上的 NetBeans 中运行应用程序时,它告诉我:

From today, when I tried to run an app in NetBeans on a 2.3.3 Android platform, it shows me that:

分配内存失败:8

此应用程序已请求运行时以一种不寻常的方式终止它.请联系应用程序的支持团队了解更多信息.

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

并且模拟器不想启动.

这是我第一次看到它,谷歌对此没有答案,我尝试了两个版本的 NetBeans 6.9.1 和 7.0.1,仍然是同样的错误.

This is for the first time when I see it, and google has no asnwers for this, I tried even with 2 versions of NetBeans 6.9.1 and 7.0.1, still the same error.

推荐答案

我想通了.问题出在我为虚拟机指定的内存量,它是1024MB,现在我有512MB,没关系,现在我需要找到如何改进这个内存量,512不是那么多,并且机器有点迟钝.

I figured it out. The problem was in the amount of ram I had specified for the virtual machine, and it was 1024MB, now I have 512MB and it is ok, now I need to find how to improve this amount of ram, 512 is not so much, and the machine is a little bit laggy.

这篇关于分配内存失败:8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆