MKNetworkKit icon indicating copy to clipboard operation
MKNetworkKit copied to clipboard

Apparent iOS 8 memory leak with numerous operations

Open lucaskuzma opened this issue 10 years ago • 4 comments

Hello Kumar,

We're using your library to download a great number of JSON assets, and we've noticed a great deal of memory bloat, particularly as of iOS 8.

Here is an example that cycles through 100 URLs: https://gist.github.com/lucaskuzma/93afd329d8970303a778

Below is a leak we're seeing. The first plateau is before the download. The big hump is the download process, the second plateau is the memory remaining after the downloads finish. As you can see, there is quite a difference.

leak8

Any help would be most appreciated!

Here's the same process on iOS 7: leak7

lucaskuzma avatar Oct 22 '14 20:10 lucaskuzma

Any updates on the above issue , since i am also facing quite a memory leaks issue on iOS 8 ...

sundarsan avatar Oct 30 '14 08:10 sundarsan

About the problem,i can't comprehensive its mechanism,since i am only beginner.

wangyida12345 avatar Oct 30 '14 08:10 wangyida12345

I'd suggest switching to AFNetwork.

dbainbridge avatar Nov 18 '14 21:11 dbainbridge

It seems that MKNetworkKit is no longer maintained. No new upgrade version comes up.

DDany avatar Dec 01 '14 03:12 DDany