• 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: Leaks question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leaks question


  • Subject: Re: Leaks question
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 10 Dec 2007 10:33:30 -0500
  • Organization: Rogue Research

On 12/9/07 1:01 PM, David Dunham said:

>> When using leaks, how do I determine exactly which object is being
>> leaked? Leaks displays the function where the leak occurs, but is
>> there a way to narrow things down to the object?
>
>Also be sure to set the environment variable MallocStackLogging to 1
>so you can get stack trace.

MallocStackLoggingNoCompact might be even more useful.  (Unless you are
using pre-10.5, in which case be very careful as enabling either of
these can result in memory corruption!)

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

 _______________________________________________
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

  • Follow-Ups:
    • Re: Leaks question
      • From: David Dunham <email@hidden>
References: 
 >Leaks question (From: Lorenzo Thurman <email@hidden>)
 >Re: Leaks question (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Query regarding dynamic library
  • Next by Date: Re: How to make a program look for dylibs other than /usr/local/lib?
  • Previous by thread: Re: Leaks question
  • Next by thread: Re: Leaks question
  • Index(es):
    • Date
    • Thread