Memory Leaks & Instruments Questions
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