Writing Tests to Catch Memory Leaks in .NET (brian.genisio.org)
published 1 year, 2 months ago, submitted by
BrianGenisio(850) 1 year, 2 months ago
Although Microsoft will claim that it is "not possible to have a memory leak in managed code", most seasoned .NET developers will laugh at that statement. It turns out that it is very easy to leak memory -- just keep a referencing object around longer than the referenced object, and you can leak.
Here is a way to write tests to catch leaks.
|
category: C#
|
Views: 550
tags:
C# another
Everyones tags:
Your Tags: