How to detect where a Memory Leak is?

后端 未结 12 1754
感动是毒
感动是毒 2020-12-13 11:00

I have a large website that seems to be sucking up all the memory that is being allocated. There is nothing else on the server beside this site. Within a week it eats away t

12条回答
  •  天命终不由人
    2020-12-13 11:52

    Check out the Memory and Memory Leak labs on this blog post:

    .NET Debugging Demos

    They may be of some help. Basically, you can use WinDBG to analyze a memory dump and help determine what is eating up all of your memory.

    We used a similar approach to determine that Regex was chewing up all of our memory, but only when the product was run on 64-bit machines. The learning curve is kind of steep, but WinDBG is a very powerful tool.

提交回复
热议问题