Hello friends, I have created one iPad application which downloads images using web services. But my application crashes during manipulating with some high quality images. So my question is what is max memory limit for application running on iPad? When is the application going to be hit LowMemoryWarning on iPad?
+2
A:
There is no per-application limit so to say. The amount of memory available to an application depends on the amount of free memory, which again depends on the amount of memory used by applications running in the background. These apps include permanently running system apps like SpringBoard, sometimes running system apps like Safari, iPod, etc and (when iOS 4 will come for iPad) user-apps that still run in background.
Nevertheless, I'd say an app should never use more than 50% of all available ram. On iPad this currently means 128 MB and should be quite a lot. Did you do a leak check on your app?
Max Seelemann
2010-08-27 15:28:29
@Max Seelemann:Ya I have done leak check on my app. It doesnt over 2 to 4 kb. Now i have limited my app memory upto 130 MB, if it crosses it i have reduced image quality and downloaded low quality Image.Thank you.
Mahesh
2010-08-27 15:41:45
I'd be great if you accepted the answer then. Currently, your accept rate is at 0%!
Max Seelemann
2010-08-27 16:48:05
Hi Max,Are you sure that application can be around 100M. because i am developing an application for ipad to read pdf's.For larger pdf's my app memory size is increasing to 25 to 30MB and it is giving me memory warnings. after giving 2 to 3 warning applcation is crashing.Can you please let me know how to use upto 100MB for my application?
chaitanya
2010-08-31 15:08:31
30 MB seems to few to me, but there might be various reasons for that. Did you analyze the memory consumption of the whole system using Instruments?
Max Seelemann
2010-08-31 17:50:00