I'd like to show the memory peak (not 'leak', but the highest quantity of memory used in small amount of time) of an iPhone app i am running in the simulator. Where shall i look precisely? PS I am using libxml2 and i suppos开发者_如何学编程e that the allocations done by the library aren't considered
Use the "Allocations" performance tool by selecting Run | Run with Performance Tool | Allocations in Xcode. This will show you everything that your app allocates including items in libxml2. You may not to see exact line numbers of memory allocations in the library, but you will be able to see where the majority of your allocations are happening.
精彩评论