I have one big object graph. It begins from one root object and its properties are arrays which consist of other objects and so on.
I want to know how much memory is eating by this graph at all. Have Xcode any instrument that will show me this information by root object (maybe something like tree of all my objects)?
Or maybe it is possible to calculate its size programmat开发者_如何学Goically at runtime?
Try Instruments by running your project with Run -> Run with Performance Tool -> Object Allocation
.
精彩评论