المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Design: Inspect and Optimize Your Program's Memory Usage with the .NET Profiler API



C++ Programming
03-29-2009, 02:42 AM
Developers using .NET often make memory leak tracking a low priority because the common ******** runtime takes care of garbage collection. What few developers realize, however, is that their objects' lifespans, along with their size and what other objects have been instantiated, all affect how they are cleaned up. Depending on the particular circumstances, these combinations can negatively affect performance, especially over the lifetime of an application. This article presents a way for developers to see memory usage and understand garbage collection using the .NET Profiler API. Along the way, a sample application to demonstrate these principles is built.

Jay Hilyard

<a href="http://msdn.microsoft.com/magazine/a6995bd1-0f11-42f5-9385-3ea34bb5caa8">MSDN Magazine January 2003