Reputation: 6991
Every few weeks I check my application for memory leaks using instruments ( awesome tool, really ). As you can see in the screenshots there are a few memory leaks in it. I used to ignore these as I never really knew why they were there and they didn't seem to increase anyways.
They are created on launch and well.. thats all I know about them. Anyone any ideas on how I can figure out what library or part of my code is causing these leaks?
-- thanks
Upvotes: 3
Views: 1487
Reputation: 58478
Switch the view to the Call Tree view, and check the Hide System Libraries and the Hide Missing Symbols options on the left side.
You should be able to see a stack trace showing your where in your code the leak originates from.
If nothing is shown then one of a few things is true:
Ensure debug symbols are not being stripped out and try again.
If instruments still shows nothing, uncheck the Hide System Libraries box, make a note of where instruments says the leak is and report it to Apple at http://bugreport.apple.com
Upvotes: 5
Reputation: 104708
one way is to read the backtraces from the extended detail view (cmd+e)
Upvotes: 1