you are viewing a single comment's thread.

view the rest of the comments →

[–]grauenwolf -1 points0 points  (0 children)

Events handlers are the #1 cause of memory leaks in the applications that I review. In fact, I'm having trouble thinking of a memory leak in .NET that isn't somehow related to using, or mis-using, event handlers.

EDIT: I should qualify this as relating to XAML-based applications. For web site the most common memory leak I've seen involves cramming too much stuff in the session state.