Anatomy of a “Memory Leak”

后端 未结 15 1354
失恋的感觉
失恋的感觉 2020-11-29 14:41

In .NET perspective:

  • What is a memory leak?
  • How can you determine whether your application leaks? What are the effects?
  • How can you prevent a
15条回答
  •  甜味超标
    2020-11-29 15:30

    I will concur with Bernard as to in .net what a mem leak would be.

    You could profile your application to see its memory use, and determine that if its managing a lot of memory when it should not be you could say it has a leak.

    In managed terms I will put my neck on the line to say it does go away once the process is killed/removed.

    Unmanaged code is its own beast and if a leak exists within it, it will follow a standard mem. leak definition.

提交回复
热议问题