iOS单个应用程序的最大可用内存是多少?

 iOS单个应用程序的最大可用内存是多少?

 

StackOverflow上有人做了一些简单的测试,有限设备下迄今为止测到的结果: 

  • iPad1: 127MB/256MB/49% (大致crash临界值 / 总内存 / 占比)
  • iPad2: 275MB/512MB/53%
  • iPad3: 645MB/1024MB/62%
  • iPad4: 585MB/1024MB/57% (iOS 8.1)
  • iPad Mini 1st Generation: 297MB/512MB/58%
  • iPad Mini retina: 696MB/1024MB/68% (iOS 7.1)
  • iPad Air: 697MB/1024MB/68%
  • iPad Air 2: 1195MB/2048MB/58% (iOS 8.x)
  • iPod touch 4th gen: 130MB/256MB/51% (iOS 6.1.1)
  • iPod touch 5th gen: 286MB/512MB/56% (iOS 7.0)
  • iPhone4: 325MB/512MB/63%
  • iPhone4S: 286MB/512MB/56%
  • iPhone5: 645MB/1024MB/62%
  • iPhone5S: 646MB/1024MB/63%
  • iPhone6: 645MB/1024MB/62% (iOS 8.x)
  • iPhone6+: 645MB/1024MB/62% (iOS 8.x)
  • iPhone6s: 1396MB/2048MB/68% (iOS 9.2)
  • iPhone6s+: 1195MB/2048MB/58% (theoretical, untested)

来自StackOverflow上面的回答: iphone - ios app maximum memory budget
 
 
posted @ 2016-12-13 13:10  stevenwuzheng  阅读(1969)  评论(0编辑  收藏  举报