Memory limit do not increased after entitlements change

My app uses a lot of memory, so I often get "memory limit" crashes. In Cerf & ID & Profiles i enabled increase Memory Limit Capability, in my myAppName.entitlements But result of

print(os_proc_available_memory())

the same. Where my mistake? Thank you

iPhone 8, iOS 15.2

Replies

The docs for that entitlement are deliberately vague:

An increased memory limit is only available on some device models.

This isn’t accidental. Memory management is a complex business and the exact behaviour you see depends on the device type, the OS version, and the state of the device. Which brings us to another quote from the docs:

If you use this entitlement, make sure your app still behaves correctly if additional memory isn’t available.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • I often see your answers, so thank you for your activity) about my question: i tried to find a list of devices that supports increased memory limit, but not successful. May be you know where i can find that list?

Add a Comment