Memory Leaks and WPF

February 7 2008

I think that there is an assumption by many .NET developers that, with the CLR's garbage collector, they are immune from memory leaks.  This is hardly the case.  When writing WPF applications, there are a number of gotchas in this department.  Hat's off to Jossef Goldberg, who has a fantastic post on some of the more pernicious WPF memory leaks: how to avoid them and, if that fails, how to find them.  

Comments (5) -

2/18/2008 7:13:00 AM #

Deavon Barlow

Reading Jossef's article only makes me paranoid about my use of WPF, and makes me think that there are many undiscovered issues which could affect performance. Since you work at Microsoft, is there anything that you can say to help me feel more content about my use of XAML and WPF?
          

Deavon Barlow

2/20/2008 6:32:00 AM #

I'd say this: all platforms have their gotchas.  WPF has its set of them.  The good news is that we are starting to understand what those gotchas are.

For the record, I've never ended up writing WPF code that had a memory leak.  I think these are edge cases to a certain extent, but when your app is leaking, posts like this are great at helping track them down...
          

Karsten Januszewski

9/22/2011 10:33:44 PM #

iphone 4 case


just wanted to add a comment here to mention thanks for you very nice ideas. Blogs are troublesome to run and time consuming thus I appreciate when I see well written material. Your time isn’t going to waste with your posts. Thanks so much and stick with it No doubt you will definitely reach your goals! have a great day!

iphone 4 case

9/22/2011 10:33:58 PM #

iphone 4 case


just wanted to add a comment here to mention thanks for you very nice ideas. Blogs are troublesome to run and time consuming thus I appreciate when I see well written material. Your time isn’t going to waste with your posts. Thanks so much and stick with it No doubt you will definitely reach your goals! have a great day!

iphone 4 case

9/27/2011 12:17:06 AM #

iphone 4 cover


just wanted to add a comment here to mention thanks for you very nice ideas. Blogs are troublesome to run and time consuming thus I appreciate when I see well written material. Your time isn’t going to waste with your posts. Thanks so much and stick with it No doubt you will definitely reach your goals! have a great day!

iphone 4 cover

Add comment

Enter your name, handle, alias, or email.

We'll incarnate your avatar from the services below.



biuquote
Loading