Xcode Toolkit Generation

I use the tools in the ARC project (runs on the device) to make sure that I clear any forgotten memory. For this purpose, I use the distribution generation tool and take pictures of my heap for the same action 10-20 times. The fact that I'm embarrassed is growth. For some time, the growth is 0, and then another seems to accumulate a certain number of bytes (never sequential in the range from several bytes to several kilobytes). But usually there are at least a few iterations where the growth is 0.

My question is: if my height is sometimes 0, does this mean that my memory management is correct? Or do I still have problems that I need to resolve? I understand that a memory leak may take several cycles, but what about memory that is still allocated and remains even after> 10 iterations?

This seems like a more general question about the interpretation of tools, so I did not use any specific code. In addition, I found that this happens in various heap snapshot scenarios: pull to refresh, push view controller, etc.

Edit: I have included a snapshot of my tools window .

+4
source share
1

, , , 0 , .

, ( ), , Apple , . - Apple, , , "" , . , , - , Apple, , . , , . Apple - , - , . , , , .

- , . , , , , . , 0, - , .

+3

Source: https://habr.com/ru/post/1527524/


All Articles