没有足够的记忆“错误消息和Windows Phone 8模拟器无法在Windows 8.1中启动 [英] Not enough memory" error message and Windows Phone 8 Emulator does not start in Windows 8.1

查看:69
本文介绍了没有足够的记忆“错误消息和Windows Phone 8模拟器无法在Windows 8.1中启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我收到错误消息内存不足错误消息,Windows Phone 8 Emulator无法在Windows 8.1中启动



能否给我解决方案或建议



提前致谢

Hi All,

I am getting error like "Not enough memory" error message and Windows Phone 8 Emulator does not start in Windows 8.1

Could you please give me solution or suggestion

Thanks in advance

推荐答案

Quote:

内存不足

这是一条明确的消息,告诉你内存(RAM)不够为应用程序启动。



现在,有两种方法可以解决这个问题。



1.增加模拟器的RAM 。

2.减少应用程序对RAM的消耗。



我很乐意建议你第二个选项,不要增加RAM因为如果你这样做。您可以以某种方式确保您的应用程序运行,但如果客户端没有增加RAM的选项怎么办?他们会在安装应用程序后立即离开应用程序。



尝试保持RAM相同,但首先要缩短变量(特别是全局变量,还有静态变量)。确保您只保留所需的变量。如果使用了位图和图形对象,请确保也缩短它们。因为它们也存储在内存中。最后,需要这么多内存的应用程序是什么类型的?



你确定没有循环重新创建内存中的对象吗?也许存在内存泄漏。这是唯一的解决方案。我再说一遍,不要通过增加模拟器的RAM大小来解决问题,尝试用提供的RAM修复问题!

That is a clear message telling you that the memory (RAM) is not enough for the application to start.

Now, there are two possible ways to fix this.

1. Increase the RAM for emulator.
2. Decrease the consumption of RAM by the application.

I would love to suggest you the second option, do not increase the RAM because if you do. You can somehow possibly make sure your application runs, but what if a client does not have options to increase their RAM? They would leave the application as soon as they install it.

Try keeping the RAM same but start by cutting short the variable (global ones specifically, and the static ones also). Make sure you are only keeping the variables that are required. If there are bitmaps and graphics objects being used, make sure you cut short them also. Because they are also stored in the memory. Finally, what sort of application is this that needs so much of the RAM?

Are you sure there is no loop that re-creates the objects in the memory? Perhaps a memory-leak is present. This is the only solution. I repeat, do not fix the problem by increasing the RAM size of your emulator, try fixing the problem with the RAM provided!


这篇关于没有足够的记忆“错误消息和Windows Phone 8模拟器无法在Windows 8.1中启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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