[情报] iPadOS beta开放让app要求更多RAM

楼主: kyle5241 (kyle)   2021-06-26 14:02:23
【情报来源】
原网址:
(原始未删减的网址)
https://www.macrumors.com/2021/06/25/ios-ipados-15-apps-request-for-more-ram/
短网址:
(若原网址过长时请提供短网址,反之免提供)
https://tinyurl.com/hw5jbfty
【情报内容】
在目前的iOS/iPadOS 14中,每个app最多只能用5GB的RAM
对于拥有16GB RAM的iPad pro来说是个浪费
In the second betas of iOS and iPadOS 15, released to developers yesterday,
Apple is introducing a new entitlement that developers may request that will
expose their apps to more memory. Apple says that this entitlement will
inform the system that an app "may perform better by exceeding the default
app memory limit." Apple's developer documentation doesn't specify how much
extra RAM an app may be exposed to and also says this is limited to
"supported devices."
在iPadOS/iOS 15 beta 2中,苹果引进了一个开发者可以要求的权利:让他们的
app可以接触到更多的RAM。苹果说这个权利可以跟系统说,这个app如果有更多
RAM的话可以表现的更好。苹果并没有说多少RAM app可以使用,但仅说这个仅限
于有支援的装置
Add this entitlement to your app to inform the system that some of your app's
core features may perform better by exceeding the default app memory limit on
supported devices. If you use this entitlement, make sure your app still
behaves correctly if additional memory isn't available.
把这个权利加到你的app中,告诉系统你的app有些重要的功能在更多RAM的时候可以
表现的更好,如果你用了这个权利,记得让你的app在没有这些额外的RAM的时候
还可以表现正常
While Apple doesn't specify the amount of extra RAM an app may request, the
wording of the documentation, which advises developers to use a function to
"determine the amount of memory available," suggests the ceiling of memory
apps may request may be relatively high.
虽然苹果没有说一个app可以要求多少额外的RAM,说明文件却建议开发者先利用一个
函数去决定系统还有多少的RAM可以用,表示这个上限还蛮高的
心得:
谢主荣恩,终于有RAM可以用了
但在iPad RAM几乎100%被用完的情况,到底多余可以用的RAM要如何决定呢?
作者: siegfriedlin (齐格飞)   2021-06-26 14:37:00
原神可以吃到几g?
作者: KimomiKai (时雨大天使)   2021-06-26 15:14:00
你把电脑版开中画质不就知道原神可以吃多少了。
作者: waroz (沃君)   2021-06-26 15:40:00
不同系统怎么比,更别说M1这种ram几乎可以当翻倍用的
作者: bighta83330 (YuSheng)   2021-06-27 02:44:00
ipad看到ram被100%占用是系统分配的逻辑跟windows安卓都不一样macOS跟iOS iPadOS的逻辑都是先把全部吃掉 由系统去分配 所以其他的检测软件才会看到占用很高
作者: rockmanx52 (ゴミ丼 わがんりんにゃれ)   2021-06-28 02:03:00
其实Winodws NT6一开始也是这样 结果被一群乡民干爆了才回去NT5以前的逻辑

Links booklink

Contact Us: admin [ a t ] ucptt.com