Typical memory usage of iphone application

According to the pure "Tools" bytes, my application is no more than 2MB, but sometimes I get a memory warning and the application crashes because some views on the stack are force-paged.

I would like to know what is the typical memory area where the system does not send you a memory alert and unload views?

I have tried this so far on OS 3.1.2 on iphone 3GS and 3G, and 3G gave a warning almost 80% of the time when I test the app on it.

+2


a source to share


1 answer


The problem is not that you are using a lot of memory. It could be another application using memory and calling your application to receive a memory alert.



Probably the problem is that you are not setting your views to nil to viewDidUnload

.

0


a source







All Articles