I made a mistake when using the Leaks tool, which I thought was the total amount of memory, so I updated my post!
[Updated]
Hello everybody,
I ran into a problem that:
My application presents real-time data using a UITableView, which can contain a maximum of 34 custom cells, so when I get the update data, I have to reloadData for that UITableView. Usually it reloads 2-3 times per second to update 2-5 cells (and, in addition, when updating the cell, I use the UiView animation to blink the associated text label).
When the application starts, everything is in order, it works smoothly, but continue to work after about 20-30 minutes, it slows down and sometimes freezes after a second. I used the Leaks tool to test my application and see that after its launch it uses about 17 MB of memory, but after 20-30 minutes it uses a 25k-28k live object (1.7Mb of memory) . When I tried to navigate all screens, it used up to 80K live objects (6.5Mb of memory) : (
I assume that the UITableView reloads many times because my application uses more and more memory from time to time and makes it slow.
So, does anyone know how to solve this problem, please help me, thank you very much!