Thanks for that. You were right... it's an event handler that I've not unhooked. I've tracked down the offending event handler (I found that forum thread too). I'm just now trying to figure the best way to unhook the event handler.
Is there a way to loop through the delegates on an event handler and remove them? Would setting it to null work? On Sat, Apr 11, 2009 at 9:14 PM, Jonathan Parker < [email protected]> wrote: > This link might help. > > http://silverlight.net/forums/p/72532/175206.aspx > > Here's the google cache in case you don't want to login: > > > http://72.14.235.132/search?q=cache:rulOy4_nwlgJ:silverlight.net/forums/p/72532/175206.aspx+silverlight+observable+collection+memory&cd=2&hl=en&ct=clnk&gl=au&client=firefox-a > > > > > On Sat, Apr 11, 2009 at 9:29 PM, Stephen Price > <[email protected]>wrote: > >> Hi All, >> I've noticed a strange problem, I've got a search happening where it >> returns a collection to me via WCF service. I put the results into an >> ObservableCollection in my ViewModel class. If I do another search and >> another, the memory usage keeps going up each time. (I'm using Silverlight >> Spy to show the memory usage). >> >> I remember reading about bindings holding onto objects but can't find >> anything. Anyone come across this before? >> >> thanks, >> Stephen >> ------------------------------ >> Support procedure: https://www.codify.com/lists/support >> List address: [email protected] >> Subscribe: [email protected] >> Unsubscribe: [email protected] >> List FAQ: http://www.codify.com/lists/ozsilverlight >> Other lists you might want to join: http://www.codify.com/lists > > > ------------------------------ > Support procedure: https://www.codify.com/lists/support > List address: [email protected] > Subscribe: [email protected] > Unsubscribe: [email protected] > List FAQ: http://www.codify.com/lists/ozsilverlight > Other lists you might want to join: http://www.codify.com/lists > -------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists
