Is there a C# WinForms equivalent for System.ReportMemoryLeaksOnShutdown?

Comments

  1. Well no, because that concept doesn't make sense when memory is managed by garbage collection.

    Furthermore, WinForms is orthogonal to memory management. Memory is managed at a much lower layer that your GUI framework. Tools to help you find memory leaks will be agnostic to your GUI framework choices.

    ReplyDelete
  2. David Heffernan "Well no, because that concept doesn't make sense when memory is managed by garbage collection."

    Exactly.  Under a GC, every allocation is a memory leak by design, so trying to track down memory leaks is a ridiculously complicated process.

    ReplyDelete

Post a Comment