WPF Memory Usage

前端 未结 5 735
礼貌的吻别
礼貌的吻别 2021-02-08 20:56

Application:

  • WPF Application consisting of a textbox on top and a listbox below
  • Users type a string in the TextBox to find employees, and search results
5条回答
  •  一生所求
    2021-02-08 21:31

    You could use

    WPF Performance Suite

    Optimizing WPF Application Performance

    A similar issue haunts me.. (something like)

    At application startup I query the database and retrieve all employees and related information to be shown in the ListBox. This is kept in memory the entire time.

    May be you could modify your code to follow WPF: Data Virtualization

提交回复
热议问题