Skip to content

Instantly share code, notes, and snippets.

@gnachman
Last active August 29, 2015 14:26
Show Gist options
  • Select an option

  • Save gnachman/765a64ff1ba4cc5bc42a to your computer and use it in GitHub Desktop.

Select an option

Save gnachman/765a64ff1ba4cc5bc42a to your computer and use it in GitHub Desktop.
How to collect detailed memory usage info for iTerm2
First, install XCode from the app store. It takes a while to download so be patient.
At the command prompt:
git clone https://github.com/gnachman/iTerm2.git
cd iTerm2
open iTerm2.xcodeproj
XCode will open. Do this:
Long click on the "play" right arrow button in the top left of XCode
Select "Profile", with the wrench icon
...get a cup of coffee...
Instruments starts
Choose the "Allocations" instrument and click the "Choose" button
Click the red "Record" circle if iTerm2 isn't launched automatically
Reproduce the issue
Return to the Instruments window
Click the black "Stop" box in Instruments
Choose File>Save
Send me the file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment