tags:

views:

549

answers:

2

My iPhone app will download a large amount of data from a remote server. What is the maximum amount of data that an iPhone application can store? If you try to store too much data, what happens?

+2  A: 

See this excellent article on memory on the iPhone.

Andreas Brinck
+1  A: 

Like a computer, iPhone has RAM and hard disk space. The disk space is advertised on the box (8GB, 16GB, or 32GB). Apple does not advertise the amount of RAM, but the iPhone and iPhone 3G have 128MB and the 3GS has 256MB.

If you fill up memory, your app will receive a Memory Warning notification. If you don't free up enough memory, your app will be terminated.

If you fill up the disk, your app will probably receive disk full errors when you try to write more data.

benzado