In my app I have noticed that it goes very slow when switching between tabs. Further investigation showed that in my memory usage test my app was over 70mb in 5 minutes of testing. My native email app was only using 40mb. This cannot happen
I am using ARC and what I thought was that if I use something like
@property(nonatomic, strong)NSString *string;
ARC will dealloc this automatically. It doesn’t seem to be doing that at all.
What I would like to know is if I can reduce my memory by using dealloc in my code (when I switched to ARC it deleted all my dealloc methods) or if there is another way to speed up my app.
To give you more information on what the app does here is a list of key points:
-Gets mail messages from webservice along with pdfs
-Stores arrays to check if messages have been read, deleted, or unread
-Mail tab checks for new messages from the webservice everytime someone clicks on the tab
-Same check for pdf files
Any information will help me a lot.
Thanks
EDIT
Here are pictures of the leaks I have. Its a lot.



The best way to find out what the reason is for this high memory usage is using the
Instrumentstool and more specifically theLeakstool.You can find more info on the Apple developer site here.
Hope this helps.