3 ms·
Out of curiosity, how much memory can a single app actually use on the Vision Pro? I know it physically has 16GB of RAM but mobile OSes usually don't let an app
by jsheard 3y ago
Out of curiosity, how much memory can a single app actually use on the Vision Pro? I know it physically has 16GB of RAM but mobile OSes usually don't let an app use anything close to the entire memory, and that arbitrary limit will dictate how big of a model you can load.
- wahnfrieden 3y agohttps://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_increased-memory-limit https://developer.apple.com/documentation/bundleresources/en... is how you get lots of RAM on iOS/iPadOS but it's not marked for visionOS so I can't tell
- jsheard 3y agoApparently 16GB iPads set the line at 5GB per app by default, and while that flag lets you request more they don't make any guarantees of how much extra quota you will get, so I'm not sure how useful that is for loading a big model if it might randomly fail. I suppose it's probably safe to assume the Vision Pro is similar. https://9to5mac.com/2021/06/25/apps-can-request-access-to-more-ram-with-ios-15-entitlement-exceeding-normal-system-memory-limits https://9to5mac.com/2021/06/25/apps-can-request-access-to-mo...
- samstave 3y ago>request more they don't make any guarantees of how much extra quota you will get How is the logic made for what requests get what? Maybe a new feature in future iOs would be a user setting for specific apps to slider how much the user wants to allot - and a toggle to "shed other apps as needed" and "shed other apps when temp reaches X"
- wahnfrieden 3y agoApple will never do that. And the algo is undocumented.
- dannyw 3y agoI’ve tested this. On an iPad it always works in my testing on devices with lots of RAM, unless your app is in split screen mode.
- kalleboo 3y ago> Maybe a new feature in future iOS would be a user setting for specific apps to slider how much the user wants to allot And Apple even has a UI design ready for this https://kalleboo.com/linked/system7memorymanagement.png https://kalleboo.com/linked/system7memorymanagement.png
- virusduck 3y agoHello, System 7!