开发者

How to know in Xcode how much memory occupied by my object graph?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜