No matter what people say, managed code applications can (and will) leak memory. I bumped into a blog post on MSDN today which describes how memory leaks in WPF applications can be avoided and found should they occur. From the blog post: In this blog I wanted to: Show coding practices that can cause...
I was assigned to a .Net web project some years ago to see why the application continued to allocate more and more memory untill IIS thought it was to time to restart the application. I solved a lot of the problems in that project simply by calling the Dispose method on any object that implemented one...
A few weeks back I blogged about optimizing memory use in a .Net application. On that note, I was reminded to some links to Microsoft documents on the internet that deal with memory leaks and how to debug them. I posted them before, but with my recent post in mind and the blog now being in English, I...
Back in the old day's, when Bill Gates claimed 640 kB was all anyone would need, we had to really look at how we used memory resources in our applications. Today, it seems that nobody is really bothered with memory issues anymore. Simply add more memory, it's cheap, right? But it still pays to give attention...
Just read on MSDN that SP3 for .Net is on it's way. You can already download it to perform testing but Microsoft warns you not to install it in production environments yet. While I was browsing through all the issues that were solved , I found a link to this support question regarding memory leaks. One...
I was reading this article on MSDN Field Views on Windows Forms 1.0 and 1.1 Data Binding and bumped into a section about databinding and memory leaks. As you may know, I've struggled with this in my first .Net project. Steve White, the author of this article, explains what happens to datasource that...
Pascal Naber pointed me to some Microsoft Documents that focus on memory links, which you can find below. The links also contain tips on improving the memory use of your applications. Identify Memory Leaks in the Common Language Runtime Roadmap for Debugging Hangs, Memory Leaks, Deadlocks, and Race Conditions...
Door alle spin die Microsoft aan het .Net Framework heeft gegeven denken veel developers dat geheugenallocatie geen probleem meer is. “De Garbage collector ruimt alles wel voor me op”. Dat is wel waar, maar alleen als de garbage collector dat kan. Memory leaks bestaan dus nog steeds en hebben...