Re: Windows get released on 10.6, leak on 10.7
Re: Windows get released on 10.6, leak on 10.7
- Subject: Re: Windows get released on 10.6, leak on 10.7
- From: Ross Carter <email@hidden>
- Date: Thu, 21 Jul 2011 16:16:31 -0400
> Just a long shot, but does this have anything to do with the new ARC (Automatic Reference Counting)?
Joanna: The app uses GC, and was built long before ARC was announced. Everything gets collected on 10.6. I'm puzzled how ARC could affect GC.
> Have you used Instruments to find out why? If not, then use the object alloc instrument with reference counting turned on. Then look at your window objects and try and figure out where the extra retain is happening.
Nick: It's a GC app, so -retain is a no-op. My Instruments foo is not strong. What tool will show why an object is not getting collected?
> NSDocuments on 10.7 are supposed to be restorable (beyond automatic saving of documents). Could it be linked to that?
vincent: Good idea, but I would expect that restorable documents are saved on disk and not retained in memory.
Ross
_______________________________________________
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