I am tried to make iOS Application using AFNetworking
in UITableView
. TableView loads 20 datas like Twitter's timeline.
When it loads over 80 datas, Xcode shows spending about 70MB memory and console shows
"Received memory warning."
And
**"error in __connection_block_invoke_2: Connection interrupted".**
What is this and How do I treat this error?
Reason: When you load more data which contains above 70 mb will get crash.
Sol: Load data (EG:)40 only at a time. Then load another (EG:)40 next time by fetching data from web service. Fetch (EG)40 data by hitting service each time & reload tableview using pull to refresh concept.
Refer following links to know about memory leakage: