Re: leaks and MallocStackLogging
Re: leaks and MallocStackLogging
- Subject: Re: leaks and MallocStackLogging
- From: Jerry <email@hidden>
- Date: Fri, 18 Jul 2008 08:30:11 +0100
On 17 Jul 2008, at 01:51, j o a r wrote:
On Jul 16, 2008, at 2:32 PM, Shawn Protsman wrote:
Novice `leaks` question if you please. We believe we have a mem
leak in an app here in the office. The 'leaks' manpage mentions "If
the environment variable "MallocStackLogging" is set when the
inspected program is started, leaks ..." How do I set this? Is it
to be included in my Makefile?
Note that you would probably benefit from using Instruments, and not
leaks, if you're troubleshooting memory leaks on Mac OS X 10.5 or
later!
My experience of turing on MallocStackLogging is that although it's
invaluable for finding leaks, it's also likely to make your
application crash. I seem to remember some threads here in the past
about it not being threadsafe.
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