Is any memory leak in iOS accepted at all? -


i new objective-c (coming java) , think getting pretty understanding of memory management. when app loads, extremely small memory leak, occurs when game loading (we talking 32 512 bytes).

it's random when leaks, , doesn't seem it's user triggers leak. detected after 20sec 1min.

the information debugger never same. sometime it's uiapplication thats "responsible frame", it's [uiwindow makekeyandvisible] , it's [unibdecoder].

is bellow "accepted" limit, or should app not leak @ all? first "big" app. have done minor flipsideview app, , there no leaks ever..

on other hand, best way identify leaks?

it's not great, won't app rejected unless causes crash in front of reviewer. size less important how occurs. if occurs once every time app run, that's not big deal. if happens every time user something, that's more of problem.

llvm's static analyser can find of these problems you. clean build, select build , analyze build menu. there's leaks template in instruments.

it's idea track down these bugs , fix them, because objective c memory management quite different compared java, , it's practice in smaller stuff before you're stuck trying debug huge problem deadline looming.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -