Re: Big memory/time consumption in NSTreeController KVO GC

2009-12-09 Thread jonat...@mugginsoft.com
On 9 Dec 2009, at 13:58, Benjamin Rister wrote: > > Considering the other issues I’m having with it, I suspect I’m headed down > the same path. For the record, this will be three for three times I’ve tried > to use NSTreeController in one of our apps and have been unable to do so. > I seem to

Re: Big memory/time consumption in NSTreeController KVO GC

2009-12-09 Thread Benjamin Rister
On Dec 8, 2009, at 4:35 PM, Greg Parker wrote: > 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. On Dec 8, 2009, at 6:38 PM, Rob Keniger wrote: > Please s

Re: Big memory/time consumption in NSTreeController KVO GC

2009-12-08 Thread Rob Keniger
On 09/12/2009, at 9:38 AM, Rob Keniger wrote: > There are still massive remaining performance issues with > NSTreeController/NSArrayController in 10.6 if you have a large number of > active bindings. ...and I should point out that these issues were bad enough for me to completely abandon NS

Re: Big memory/time consumption in NSTreeController KVO GC

2009-12-08 Thread Rob Keniger
On 09/12/2009, at 7:35 AM, Greg Parker wrote: > 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. There are still massive remaining performance issues with

Re: Big memory/time consumption in NSTreeController KVO GC

2009-12-08 Thread Greg Parker
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

Re: Big memory/time consumption in NSTreeController KVO GC

2009-12-08 Thread Benjamin Rister
On Dec 8, 2009, at 2:44 PM, jonat...@mugginsoft.com wrote: >> Any ideas about why NSTreeController’s KVO is taking up so much memory/CPU >> with bookkeeping? Any suggestions for working around the problem? >> > I assume that you are using bindings. Yes. > Looks like a typical KVO notification

Re: Big memory/time consumption in NSTreeController KVO GC

2009-12-08 Thread jonat...@mugginsoft.com
> > > Any ideas about why NSTreeController’s KVO is taking up so much memory/CPU > with bookkeeping? Any suggestions for working around the problem? > I assume that you are using bindings. Looks like a typical KVO notification storm to me. What works well for adding and updating one or two ob

Big memory/time consumption in NSTreeController KVO GC

2009-12-08 Thread Benjamin Rister
I have a NSTreeController displayed via an NSOutlineView. It’s set up to expand items by default as they’re added to the model. This is all on Snow Leopard. When a bunch of items (some thousands) are added and removed from the model, there’s a large memory spike (multi-hundred MB) almost entirel

Re: NSTreeController KVO

2008-04-07 Thread Hamish Allan
On Mon, Apr 7, 2008 at 2:04 AM, Chris Suter <[EMAIL PROTECTED]> wrote: > Have you seen this: > I had not (I'd only ever changed to-many relationships thro

Re: NSTreeController KVO

2008-04-06 Thread Chris Suter
On 07/04/2008, at 10:30 AM, Hamish Allan wrote: Hi, I have an NSOutlineView bound to an NSTreeController, in turn bound to an NSMutableArray whose contents are: [snip] Have you seen this:

NSTreeController KVO

2008-04-06 Thread Hamish Allan
Hi, I have an NSOutlineView bound to an NSTreeController, in turn bound to an NSMutableArray whose contents are: ( { children = ( { displayName = "child 1"; }, { displayName = "child 2"; } ); displayName = "parent"; } ) The bindings are set up as you might