Closed Nice3point closed 2 years ago
@Nice3point you have any document suggesst about this ? I want to read more documents to understand more about this issue
no, it's just that every time you access a property, a new object is created for which memory is allocated, instead it's better to reuse the previous one
I want to read more documents
maybe this book https://t.me/programmist_of/210
Problem resoleved
https://github.com/chuongmep/RevitAddInManager/blob/8faa9fff26524c74eb5aadeb4e6bf3ae115c69cd/AddInManager/ViewModel/AddInManagerViewModel.cs#L105
Caching variant:
this will reduce memory consumption