Re: Interpreting what Leaks is telling me
Re: Interpreting what Leaks is telling me
- Subject: Re: Interpreting what Leaks is telling me
- From: Jerry <email@hidden>
- Date: Tue, 23 Sep 2008 08:54:42 +0100
On 22 Sep 2008, at 22:00, Karan, Cem (Civ, ARL/CISD) wrote:
-----Original Message-----
From: Shawn Erickson [mailto:email@hidden]
Sent: Monday, September 22, 2008 4:26 PM
To: Karan, Cem (Civ, ARL/CISD)
Cc: xcoders
Subject: Re: Interpreting what Leaks is telling me
On Mon, Sep 22, 2008 at 12:46 PM, Karan, Cem (Civ, ARL/CISD)
<email@hidden> wrote:
I'm using Leaks (under Instruments, not command-line) to see if my
code is leaking or not. When I run my code and look at the
output in
the graph, I get little spikes in leaks that goes back to 0
all over
the place. What does that mean?
Just in case you haven't reviewed it...
http://developer.apple.com/documentation/DeveloperTools/Concep
tual/InstrumentsUserGuide/Built-InInstruments/chapter_9_sectio
n_8.html#//apple_ref/doc/uid/TP40004652-CH6-DontLinkElementID_28
I appreciate the link, but I actually had read it; the problem is
that I don't understand what the timeline view is showing me. As
time goes on, the object allocations increase monotonically, which
means I'm leaking like a sieve somewhere. Leaks' timeline is flat,
except for periodic triangular spikes that rise up high, and then
fall back to 0. I'm trying to figure out what that information is
supposed to mean; does it mean that I'm only leaking during that
time period, or does it have some other information? I guess what
I'm expecting to see is a graph of the total number of objects
leaked so far, not a 'velocity' of leakage.
I always assumed that the spikes just indicate the time that the leak
detection ran, but that's only my guess.
Jerry
_______________________________________________
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