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

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

  •  30-05-2022
  •  | 
  •  

Question

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.

Était-ce utile?
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top