If there are 5000 ContentControl in WPF get created, the application turns into zombie process

StackOverflow https://stackoverflow.com/questions/16675530

  •  30-05-2022
  •  | 
  •  

If there are 5000 ContentControl in WPF get recreated each time when I click a button, the application turns into zombie process.

ContentControl are created by the DataTemplate. The memory usage keeps going up.

有帮助吗?

解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top