none
界面加载数据太耗内存,有什么好的处理策略 RRS feed

  • 问题

  • 10M不到的内存数据加载到界面上会消耗几百M的内存;如果先后创建2个相同的窗口加载2份不同的数据,我只需显示其中一个窗口(2个窗口切换显示,不会同时显示),如何能降低内存消耗?
    2014年6月30日 9:20

全部回复

  • Hi,

    you can refer to the following article about some practical tips to improve the performance.

    http://msdn.microsoft.com/en-us/magazine/cc163630.aspx

    § Improving application startup time

    • Tuning up control creation and population
    • Improving painting performance
    • Rendering text and images
    • Efficient resource management


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年7月1日 3:33
    版主
  • 考虑用ANTS Performance Profiler 8,dotTrace,JustTrace等工具跑一下现有程序,看看哪些地方的代码最耗费CPU和内存,再寻找解决方案优化,比如用缓存,使用Dispose模式,强制GC回收内存等。
    2016年4月24日 1:24