Posted 23 Jun 2010
Link to this post
For each xaml page we have certain set of HTML url's asscoiated. When user has navigated to on a particular xaml page, radHtmlPlaceholder control gets Html pages associated with this xaml page and displays one html page after other using a fixed interval (changing the url for the radHtmlPlaceholder based on a timer interval ).
When the fist time my silverlight app loads, it takes up close to 125Mb of memory (Initial memory size can be because of some control libraries I am using, I am not much worried about it). As the rotation of html pages starts, memory just keep increasing. When I navigates between xaml pages and differnt html page are to be displayed then also memory usage increases.
Initially I thought that this is because GC has not collected the data, but today I left the page running for 5hrs or so and saw that the memory usage has reached as big as 700Mb. I know it could be because of html page size too, but I got same results experimenting with simple websites like google.com.
I think, Though the html content is removed from UI, GC couldnot collect the data. I have 2.4Ghz with 3.5Gb ram and using win XP with SL4, visual studio 2010.