On Dec 8, 2009, at 1:22 PM, Benjamin Rister wrote: > Well...not quite. There’s nothing about doing this notification that requires > allocating hundreds of megabytes of overhead, particularly when the model > itself is a fraction of that size, including payload. As I mentioned, these > blocks it’s allocating are 16KB each. I can’t fathom what legitimate data you > could possibly keep to do this observation that would take up that much > space. In addition, if you look at the stack trace, most of the memory > allocations are happening in response to NSKeyValueObservanceBecameUseless; > thus, it’s happening after all of the actual, real work is done.
Which OS version is this? 10.6.2 fixed a performance problem with garbage collection and large KVO populations. If you still have trouble in 10.6.2+ then you should file a bug report. -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ 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