I have an application that works well on the iPhone 4, 2nd generation iPod Touch, iPhone 3G, but it crashes on the 4th generation iPod Touch systematically after 2 or 3 memory warnings. I tested it in Tools and it tells me that the application is using 2 MB when sending a warning about memory. This seems to be a very small amount of memory.
I suspect the problem is with the UIWebView and I wander if the tools actually show the amount of memory used by the UIWebView. 2MB is not enough to generate memory alerts in previous applications that I worked on.
This is not a leak in UIWebView, as I sometimes experience a crash when I display a UIWebView.
source share