On Oct 16, 2013, at 12:56:00, Andy Lee <ag...@mac.com> wrote:

> As for the creeping memory footprint, maybe try Heapshot Analysis to see what 
> objects are being created during particular intervals?

Aha! Thanks, I didn't know about this very helpful debugging aid yet. I was 
getting about a meg worth of junk every time I brought up a multi-panel dialog 
that loads 26 nibs, with most of the objects rooted in a call to 
instantiateNibWithOwner. Looking that method up, I see it's been deprecated and 
replaced by instantiateWithOwner in 10.8. I tried that instead and now it's 
only growing by a few measly k every time. This is *much* better. But, we still 
need to support 10.7. So it looks like we'll just have to leak all this crap in 
10.7 and run the newer method on 10.8 and up.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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

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

Reply via email to