What is the largest amount of memory, in bytes, that I can safely allocate in one block on an iOS device?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not a fixed number – it depends on phone model and SDK version. It also depends on how many other app’s are running on the device and at what point during the program execution that the request was made (memory spikes tend to get your application terminated quickly). To be frank, it’s impossible to give a definitive number but it ranges from 20 to 100MB.
See here: iOS memory allocation – how much memory can be used in an application?