[WP8]:System.Windows.ni.dll中发生未处理的“System.OutOfMemoryException”类型异常 [英] [WP8]: An unhandled exception of type 'System.OutOfMemoryException' occurred in System.Windows.ni.dll

查看:53
本文介绍了[WP8]:System.Windows.ni.dll中发生未处理的“System.OutOfMemoryException”类型异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用诺基亚lumia 520设备开发windows phone 8应用程序。当我运行我的应用程序时,我突然得到"System.Windows.ni.dll"中出现"System.OutOfMemoryException"类型的未处理异常。错误。但同样的应用程序在我的另一个诺基亚lumia 525设备上工作
罚款。我不知道问题是什么,以及如何处理这个问题。请帮我解决这个问题。谢谢。



Nikitha

Hi, I'm developing windows phone 8 app with my Nokia lumia 520 device. When I run my app, suddenly I'm getting "An unhandled exception of type 'System.OutOfMemoryException' occurred in System.Windows.ni.dll" error. But the same app is working fine in my another nokia lumia 525 device. I dont know that what will be the issue and  how to handle this. Please help me with the solution. Thanks.


Nikitha

推荐答案

你好Nikitha,

Hi Nikitha,

在512 MB设备(Lumia 520)中为应用分配的最大内存限制为180 MB。如果您的应用程序消耗超过此值,则会收到此异常。

Max memory limit allocated for an app in 512 MB devices (Lumia 520) is 180 MB. If your app is consuming more than that, you receive this exception.

对于1G​​B RAM手机(Lumia 525),分配的最大内存限制为380 MB。

For 1GB RAM phones (Lumia 525) the max memory limit allocated is 380 MB.

REF:  HTTPS:?//msdn.microsoft.com/en-us/library/windows/apps/jj681682%28v=vs.105%29.aspx F = 255安培; MSPPError = -2147217396

REF: https://msdn.microsoft.com/en-us/library/windows/apps/jj681682%28v=vs.105%29.aspx?f=255&MSPPError=-2147217396

使用Windows Phone Dev电动工具查看您的应用在两台设备上消耗的内存

Use Windows Phone Dev power tools to see how much memory your app is consuming on both the devices


这篇关于[WP8]:System.Windows.ni.dll中发生未处理的“System.OutOfMemoryException”类型异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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