Senad
Senad

Reputation: 166

Where can I find the Memory Monitor Instrument on the Mac?

I am having a hard time debugging memory crashed on an GPU-intensive app.

This answer talks about the Memory Monitor Instrument: https://stackoverflow.com/a/10951144/1167349

So does this docu page from Apple: https://developer.apple.com/library/ios/documentation/AnalysisTools/Reference/Instruments_User_Reference/MemoryMonitorInstrument/MemoryMonitorInstrument.html

However, when I open up Instruments, there is no Memory Monitor to select: Instruments window (yes, I also used the scroll bar)

When I open up the Library, I can not find it there, either. Although the "VM Tracker" and "Shared Memory" instruments have the same icon, they do not provide the same functionality: Instruments library

Am I missing something really obvious here??

I am using XCode Version 6.1.1 and Instruments Version 6.1.

Thank you a lot for all answers!

Upvotes: 2

Views: 1889

Answers (1)

Swift Dev Journal
Swift Dev Journal

Reputation: 20088

Select the Activity Monitor template. Older versions of Instruments had separate monitoring instruments for activity, memory, network usage, and file usage. In Xcode 6 Apple combined these monitoring instruments into one Activity Monitor instrument that you can configure to show the data you are interested in, which is memory usage in your case.

The Activity Monitor instrument is not initially set to graph memory usage. You will have to go to the Record Settings section of the detail view on the right side of the trace window and tell the instrument to graph and list memory usage.

enter image description here

Upvotes: 3

Related Questions