简体   繁体   English

为什么游戏崩溃是因为iPad mini的内存不足而iPad2没问题?

[英]Why game crashes because low memory on iPad mini but OK on iPad2?

The game we are developing is crash on iPad mini with IOS 7 because the low memory warning when the game uses about 200MB memory. 我们正在开发的游戏在带有IOS 7的iPad mini上崩溃,因为该游戏使用约200MB内存时出现内存不足警告。 However, there is more than 100MB free device memory, and the game is OK on iPad2. 但是,有超过100MB的可用设备内存,iPad2上的游戏还可以。

Anyone knows what happened on iPad mini? 有人知道iPad mini发生了什么吗? IPad mini's hardware is similar as iPad2, but why there is low memory warning on ipad mini though iPad2 is OK? iPad mini的硬件与iPad2类似,但是为什么iPad2可以正常运行,但为什么在iPad mini上出现内存不足警告?

Why low memory warning will be sent when the device has lot of free memory? 当设备有大量可用内存时,为什么会发出内存不足警告?

Thank you. 谢谢。

I think you've an oversized app: 我认为您的应用程序过大:

https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/18_BestPractices/BestPractices.html https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/18_BestPractices/BestPractices.html

I had problems with a 120mb app on iPad 2 but not in an iPhone 5,and I wouldn't be surprised if it's the same on the mini. 我在iPad 2上使用120mb应用程序时遇到问题,但在iPhone 5上却遇到问题,如果mini上的应用程序相同,我不会感到惊讶。 I think the ios will get uppity if you suddenly increase the amount of memory your app needs as well. 我认为,如果您突然也增加了应用程序所需的内存量,那么ios将会感到不适。

I read somewhere that we should all be aiming for 70mb app sizes (the link above indicates 60) but that can be easier said than done... 我读过某个地方,我们所有人都应该针对70mb的应用程序大小(上面的链接表示60),但这说起来容易做起来难...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 相册在iPad2中崩溃 - Photo album crashes in iPad2 应用程序在iPad 2上工作正常,在iPad 3上崩溃,内存警告低 - app works fine on iPad 2, crashes on iPad 3, with low memory warning iPad Mini:Swift-App在使用率低时收到内存警告 - iPad Mini: Swift-App receive memory warning on low usage 如何从iPAD / iPAD2布局转换为iPhone4 / iPhone5 / iPAD-mini布局 - How to convert from iPAD/iPAD2 layout to iPhone4/iPhone5/iPAD-mini layout 为了初步学习和测试iPhone应用程序(如果必须从iPhone或iPad 2上选择),可以选择在哪个设备上进行测试? - For preliminary learning and testing iPhone apps which device to pick if you have to choose from iPhone or ipad iPad2, Is it ok to test it on iPad2? 由于内存原因,App在iPad 1和iPad 2上崩溃的原因更多:为什么? - App Crashes More on iPad 1 vs. iPad 2 due to memory: Why? iPad Mini上的iOS内存管理 - iOS Memory Management on iPad Mini UIToolbar在iPad2上不透明 - UIToolbar not transparent on iPad2 情节提要系统3.0版的行为类似于iPad mini(7.9英寸)上的iPhone,但不适用于iPad2(9.7英寸)上的iPhone - Storyboard systemVersion 3.0 behave like iPhone on iPad mini(7.9 inch) but not on iPad2(9.7 inch) 适用于iPad2和iPad Mini的运行iOS7 Retina图形的iOS iPhone应用程序 - iOS iPhone Application running iOS7 Retina graphics for iPad2 and iPad Mini
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM