Memory Articles

Measure Memory Usage of .NET Applications

There are two main methods for measuring the memory usage of a .NET application, using the GC class or using System.Diagnostics Retrieve Your App’s Memory Utilization using the GC class The .NET Framework’s GC class contains many useful memory-related methods, including GetTotalMemory(), which returns the amount of memory the garbage collector believes is allocated to […]

Read more

C# – Understanding The NET Garbage Collector

A key pillar of the .NET framework is the managed code environment in which an in-built garbage collector automatically handles the tasks related to disposing of unused objects to free up memory. While the process is automatic there are a number of factors that you need to be aware of that can make the process […]

Read more