There are several ways to accomplish what you’re after. The selection range acts as a filter, so in conjunction with the Allocations instrument this poses the question “what was allocated during this period of time.” This can be extremely useful when you’re looking at a sudden spike in memory use on the timeline and want to investigate after the fact. For the specific case you’re talking about, though, you might want to look at the Generation Analysis feature. Here’s how it works:
1) Launch your application with the Allocations instrument and get to the point just before the operation you think is problematic 2) With the Allocations instrument selected, look in the upper left of the Details Pane occupying the bottom of the window and you’ll find a “Mark Generation” button. Press it once. You’ll now have a “Generation A” display in the detail pane that shows everything allocated up to that point. 3) Perform the suspect operation 4) Click “Mark Generation” again, creating a “Generation B” that contains everything allocated and not subsequently freed during the interval between the two markers.
Xcode Runtime Analysis Tools
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|