• 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: How to nail down a memory leak?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to nail down a memory leak?


  • Subject: Re: How to nail down a memory leak?
  • From: j o a r <email@hidden>
  • Date: Tue, 27 Jan 2004 13:46:02 +0100

You should enable the MallocStackLogging environment variable to get
more information from leaks. There is information in various mailing
list archives, for example here:

<http://cocoa.mamasam.com/MACOSXDEV/2003/08/1/70594.php>

j o a r


On 2004-01-27, at 11.53, Martin Kautz wrote:

> I've written a simple cocoa application which implements a class
> containing
> a couple of string manipulation.
> Now I'm trying to nail down a single memory leak... The class itself
> seems
> to be okay, but I alway get this:
> q16:~ martin$ leaks 1027
> Process 1027: 11375 nodes malloced for 1100 KB
> Process 1027: 1 leak for 0 total leaked bytes.
> Leak: 0x003277d0  size=16
>         0x00311e40 0x00000002 0x003272e0 0x00010001
>
> Could someone help me to nail down this leak?
> It's no big deal - just a controller class handling the interface and
> the
> mentioned text manipulation class...

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >How to nail down a memory leak? (From: Martin Kautz <email@hidden>)

  • Prev by Date: Re: printing from xcode
  • Next by Date: file templates for individual projects?
  • Previous by thread: Re: How to nail down a memory leak?
  • Next by thread: file templates for individual projects?
  • Index(es):
    • Date
    • Thread