knockoutjs-reactor
knockoutjs-reactor copied to clipboard
Tested for Possible Memory Leaks
Have you tested for possible memory leaks since you subscribe to each child node in a list and below? If nodes are removed are their subscriptions cleaned up in such a way that they will not hold on to memory?
That's one of the things I wanted to do for a long time. I haven't prioritized it because I've already made sure ALL subscriptions within any observable array item are automatically disposed after its deletion. Static observables also get the same treat but only when the mutable
option is set to true. I think that should be fairly enough and I haven't noticed any abnormal memory usage during my tests, with changes being applied to nodes within arrays of 1000+ items, even though they were still admittedly pretty basic. However if you're running any tests and came up with anything interesting feel free to share it with us.