• 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
XCode 3.1.1 Cocoa App template project leaking memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 3.1.1 Cocoa App template project leaking memory


  • Subject: XCode 3.1.1 Cocoa App template project leaking memory
  • From: WT <email@hidden>
  • Date: Sun, 7 Dec 2008 03:10:03 +0100

Hello all,

it turns out that my application has been leaking a small amount of memory shortly after launching. I looked at the code and there was nothing obviously wrong, and yet Instruments (well, Leaks) tells me that it leaks. I then commented out all the code in all the awakeFromNib methods and in applicationDidFinishLaunching:. These are the only entry points in my app and, yet, Instruments still reports the same leak.

On a hunch, I decided to create a new project and run Leaks on it. I just chose a new Cocoa Application project, built it with no changes of any kind, then ran it under Leaks, and it leaks the same amount of memory as my app, and the same objects are being leaked: 144 bytes of NSPathStore2.

Just thought I'd pass this along for others to comment on and, perhaps, try on their own computers.

Wagner
_______________________________________________

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


  • Prev by Date: NSPredicateEditor and date comparisons
  • Next by Date: Array Controller Add method question
  • Previous by thread: Re: NSPredicateEditor and date comparisons
  • Next by thread: Array Controller Add method question
  • Index(es):
    • Date
    • Thread