• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interpreting what Leaks is telling me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Interpreting what Leaks is telling me (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >Re: Interpreting what Leaks is telling me (From: "Shawn Erickson" <email@hidden>)
 >RE: Interpreting what Leaks is telling me (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)

  • Prev by Date: crash in mach_msg_trap
  • Next by Date: Clearing the debugger console
  • Previous by thread: RE: Interpreting what Leaks is telling me
  • Next by thread: Generating Profiling code
  • Index(es):
    • Date
    • Thread