What are the most common (and often overlooked) causes of memory leaks in managed (.net) applications?

后端 未结 11 982
闹比i
闹比i 2021-02-04 09:32

Please can anyone recommend a quick checklist / best practice guide to help us avoid simple (but subtle) mistakes that cause could cause memory leaks in .net apps

I find

11条回答
  •  心在旅途
    2021-02-04 09:57

    Circular references in value-classes (commonly in the model-layer of your application) can easily hide their leaks as well. In theory, don't do them, in practice, be aware whenever you need to do them :)

提交回复
热议问题