Garbage Collection in .NET

My current project at work has me writing a small utility application in C#. I have the functionality all working, so I’m currently trying to get it to have better performance. When I noticed that it was using a ton of memory, my first thought was that garbage collections weren’t happening correctly, or else my objects were living too long.

For the past few days, I’ve tried figuring out the problem using various utilities, with some (although limited) success. Thankfully, I stumbled across Maoni’s blog today, which looks like it will be a great resource. He not only explains (in detail) how to use some of the .NET Memory Performance Counters and what they mean, but he also has writtne about how to efficiently use the GC in the CLR. That’s just the info that I was looking for, and it couldn’t have come at a better time.

Have something to tell us about this article?
Let us know

or Comment Below

Gaming Trailers

More Like This
Fortnite: Let Them Know | Gameplay Trailer
Latest Trailers
Genshin Impact | Version 2.8 "Summer Fantasia" Trailer

Got a tip?

Let us know