• 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
Memory Leaks & Instruments Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory Leaks & Instruments Questions


  • Subject: Memory Leaks & Instruments Questions
  • From: Michael Kaye <email@hidden>
  • Date: Sun, 10 Aug 2008 20:37:45 +0100

Hi all,

Relative newbie here so please be gentle :-)

I've ben running my app with leaks in Instruments and it is reporting a fair number of leaks.

On analyzing these leaks, they all appear to be related to apple frameworks methods/code and never as a direct result of any objects I've instantiated.

Therefore my question is, is whether this is correct and what you would normally expect to see? Or are the leaks indirectly caused by something I am doing? If the former should I just ignore them and if the latter how do I track down exactly where it is occurring.

Whilst we are on it, I have a second question and that is whether should I expect any singleton object to "appear" as a memory leak in Instruments. Obviously the point of a singleton is is that it has one instance and any instance variables exist with no dealloc. So does Instruments handle this or just report them as a leak?

Anyway I hope something can offer me some sound advice. Thanks in advance.

Michael.
_______________________________________________

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


  • Follow-Ups:
    • Re: Memory Leaks & Instruments Questions
      • From: "Sean McBride" <email@hidden>
    • Re: Memory Leaks & Instruments Questions
      • From: Nathan Vander Wilt <email@hidden>
  • Prev by Date: How to switch off NSCollectionView fade animations
  • Next by Date: Hillegass' chapter #11: Core Data
  • Previous by thread: Re: How to switch off NSCollectionView fade animations
  • Next by thread: Re: Memory Leaks & Instruments Questions
  • Index(es):
    • Date
    • Thread