January 2012 Entries

Unmanaged or managed memory leaks?

Its been a while since I posted something in this blog.I've been dealing with a memory leak issue for the past week so I thought about sharing the experience I gained with you.First of all, when it comes to memory management in .NET some people think that it shouldn't be trusted so GC.Collect is triggered everywhere they think it will help lowering the memory working set of their application. It's just plain wrong. I had very rare occasions where I needed to explicitly collect objects from the GC.A ......