PTT推薦

[情報] iPadOS beta開放讓app要求更多RAM

看板iOS標題[情報] iPadOS beta開放讓app要求更多RAM作者
kyle5241
(Kyle Korver)
時間推噓 4 推:4 噓:0 →:5

【情報來源】
原網址:
(原始未刪減的網址)
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'score features may perform better by exceeding the default app memory limit onsupported 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要如何決定呢?

--

※ PTT留言評論
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.43.69.222 (臺灣)
PTT 網址

siegfriedlin06/26 14:37原神可以吃到幾g?

KimomiKai06/26 15:14你把電腦版開中畫質不就知道原神可以吃多少了。

waroz06/26 15:40不同系統怎麼比,更別說M1這種ram幾乎可以當翻倍用的

bighta8333006/27 02:44ipad看到ram被100%佔用是系統分配的邏輯跟windows

bighta8333006/27 02:44安卓都不一樣

bighta8333006/27 02:44macOS跟iOS iPadOS的邏輯都是先把全部吃掉 由系統去

bighta8333006/27 02:44分配 所以其他的檢測軟體才會看到佔用很高

rockmanx5206/28 02:03其實Winodws NT6一開始也是這樣 結果被一群鄉民幹爆了

rockmanx5206/28 02:03才回去NT5以前的邏輯