iPad中的最大应用程序内存限制? [英] Max application memory Limit in iPad?

查看:179
本文介绍了iPad中的最大应用程序内存限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了使用网络服务下载图像的iPad应用程序。但是在使用高质量图像进行操作期间,我的应用程序崩溃了。所以我的问题是 - 在iPad上运行的应用程序的最大内存限制是多少?应用程序什么时候在iPad上点击LowMemoryWarning?

I have created iPad application which downloads images using web service. But my application crashes somewhere during manipulating with high quality images. So my question is - what is max memory limit for application running on iPad? When does the application hit LowMemoryWarning on iPad?

推荐答案

没有每个应用程序限制可以这么说。应用程序可用的内存量取决于可用内存量,这又取决于后台运行的应用程序使用的内存量。这些应用程序包括永久运行的系统应用程序,如SpringBoard,有时运行Safari,iPod等系统应用程序,以及(当iOS 4将用于iPad时)用户应用程序仍在后台运行。

There is no per-application limit so to say. The amount of memory available to an application depends on the amount of free memory, which again depends on the amount of memory used by applications running in the background. These apps include permanently running system apps like SpringBoard, sometimes running system apps like Safari, iPod, etc and (when iOS 4 will come for iPad) user-apps that still run in background.

尽管如此,我认为应用程序永远不应该使用超过50%的可用内存。在iPad上,目前这意味着128 MB,应该是相当多的。您是否对应用程序进行了泄漏检查?

Nevertheless, I'd say an app should never use more than 50% of all available ram. On iPad this currently means 128 MB and should be quite a lot. Did you do a leak check on your app?

这篇关于iPad中的最大应用程序内存限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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