What is WinDbg Memory?

前端 未结 1 713
灰色年华
灰色年华 2020-12-20 16:35

I\'m debugging a Winforms application for a memory leak. In the dump file provided by the customer there is a large discrepancy between the unknown memory usage and the .NET

相关标签:
1条回答
  • 2020-12-20 17:16

    Memory that is reported as <unknown> by WinDbg is memory that was allocated via VirtualAlloc(). Some commonly known sources are:

    • .NET (because it has its own heap manager)
    • direct VirtualAlloc() calls in your code
    • C++ HeapAlloc() calls that are larger than some limit (512k if I recall correctly)
    • MSXML
    • Bitmaps (according to @Hans Passant's comment)
    0 讨论(0)
提交回复
热议问题