I am writing an application for iPhone/iPad and I need to implement a function to allow users to upload pdf. i wonder if there are limits on the amount of available memory?
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.
Of course there is a limit. The iPhone has no swap file so if you use up all available memory, the OS will kill your app. The amount of RAM on iOS devices currently varies between 128 MB (iPhone 3G and older), 256 MB (iPhone 3Gs, iPad) and 512 MB (iPhone 4 and the newest iPod touch). How much of this is available to your app also varies on the amount the OS consumes.
Available memory to the frontmost app can go down to as little as 10-20 MB.