I had a problem with displaying large images on scrollview, images 2.4 - 4.7 MB. It works great on 3GS and on the simulator. But whenever I try to launch 3G or iPod Touch 2G, it crashes.
I searched the net and found the article "imageNamed is evil". Ok, I changed all my image images to imageWithContentsOfFile: but it still crashes, only the different ones that I see are that now the images are freed after I left the view just fine. But memory usage is still very large.
Here is a screenshot of the tools.
The first peak is the video that I show at startup, then a lot of images are displayed in the table view, so far no problems.
When I enter the image 1,1mb - 2576 x 1000
When I enter a 4.8mb image - 7822 x 1000
By the way, the application was tested on iOS 4 and 3.1.2
Do you have any tips? Because this problem is driving me crazy.
Thank you very much since then!
source share