Hi, I have a SL4 application which is basically a data mining engine with search results reported in a grid. When my app first loads is uses about 100MB, each time I run a search the memory useage jumps by 80-100MB, it does not decrease unless the app sits idle for a long time. Until now I have put pretty much zero thought into memory management so I am sure I have made some mistakes and hopefully they can be resolved easily. By the way the results sets I am testing with contain about 2500-5000 items.
1. I know this is hard to gauge without knowing more about my app, but is this type of memory usage unusual?
2. At the very least I would expect for usage to fluctuate rather than just climb. For example say I start a new search, what do I need to do to make sure everything from the previous search is removed from memory? I am using an observable collection to store the search results and then bind them to the grid, clearing the collection doesn't seem to have any impact.
I realize you probably need more info but I am also looking for pretty general guidance and "best practice" tips.
I am using "RadControls_for_Silverlight_4_2010_2_0714_DEV_hotfix" on a windows 2003 server, C#, IE 8.
1. I know this is hard to gauge without knowing more about my app, but is this type of memory usage unusual?
2. At the very least I would expect for usage to fluctuate rather than just climb. For example say I start a new search, what do I need to do to make sure everything from the previous search is removed from memory? I am using an observable collection to store the search results and then bind them to the grid, clearing the collection doesn't seem to have any impact.
I realize you probably need more info but I am also looking for pretty general guidance and "best practice" tips.
I am using "RadControls_for_Silverlight_4_2010_2_0714_DEV_hotfix" on a windows 2003 server, C#, IE 8.