Making the Most of .NET Memory
Moving to .NET doesn’t mean you don’t have memory management issues. The problem is these types of issues are unfamiliar to most developers, consequently making .NET development more difficult and error-prone than its memory management model suggests. Until developers can apply the principles of .NET memory management to their advantage, applications have a greater potential for poor performance, lack of scalability and memory errors.
Part of the solution, as discussed earlier, is for developers to gain a comprehensive understanding of how the .NET Framework manages memory. You can use this type of information to apply development strategies that help you optimize the use of memory in your applications.
But understanding alone is not enough. A strategy that works well for one application might not apply to others. It’s critically important to understand how memory is used in individual applications, both at the summary level and for individual objects. It’s also essential to study memory usage and garbage collection over time, dynamically viewing the changes in memory use and the effects of garbage collection at different times.
DevPartner Studio memory analysis provides a comprehensive way for analyzing .NET memory. Thanks to its multiple views of memory use at the summary level, the ability to watch dynamic changes in memory over time, the ability to drill down into more detailed views of individual objects and the availability of call graphs to analyze the relationships between objects, DevPartner Studio is an essential tool for developing fast and reliable .NET applications.
Courtesy of Compuware Corporation