memory lease

Sep 18, 2010 at 4:24 AM


      When I try to use the api to search multiple times without navigate to other page, the memory increases significantly everytime. But after I disable the search function, the memory increase stops. So, I think the problem is the search api. Also, when I  observe the memory usage of the silverbing program in, if I do not leave the page, the memory use increases very fast after every search. Anyone else has the same problem or any clue of solving it? Thanks.


Xiang (Kevin) Cao

Sep 18, 2010 at 3:13 PM

Try calling GC.Collect() to see if that drops the memory usage.

Sep 24, 2010 at 7:35 AM

Thank you mscherotter!

I did what you told me to do, but the problem still exists, and I even removed the bing silverlight api, instead of using the bing api xml, and the problem still exists. I guess the problem is from the bing silverlight controls. I used  the StackView as a container in the program. Any further suggestions?