• 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" utility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Leaks" utility


  • Subject: Re: "Leaks" utility
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Fri, 12 Jun 2009 23:26:32 -0600

export MallocStackLogging=1

Stephen

On 12 Jun 2009, at 22:29, Ryan Joseph wrote:

I wasn't sure where to post this but Cocoa programmers should know as well as any one else I thought.

I have just learned about the "leaks" unix utility for detecting memory leaks but I'm not unix savvy enough to understand a point mentioned in the man page. Which is:

"If the MallocStackLogging environment variable was set when the application was launched, leaks also displays a stack trace describing where the buffer was allocated."

Can anyone who uses this utility tell me how to set the this environment variable? I'm thinking it's possible this must be set via GDB, otherwise I'm not sure where it could get a stack trace from. Thank you for helping.

Regards,
	Josef

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >"Leaks" utility (From: Ryan Joseph <email@hidden>)

  • Prev by Date: Re: "Leaks" utility
  • Next by Date: Re: "Leaks" utility
  • Previous by thread: Re: "Leaks" utility
  • Next by thread: Detecting text under mouse
  • Index(es):
    • Date
    • Thread