> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to