How to avoid massive memory leaks on WPF on .Net 3.5?
问题 When I run my app targeted to .Net 3.5 it has massive memory leaks. 50mb every time I assign a UserControl to a local ref. I only ever create one instance of each UserControl. If I compile and run the same code targeted to .Net 4.0 everything runs fine hovering around the 50mb mark. Is this a known isue with 3.5? I.e. it's not usable in prod? /My clients only have 3.5 and won't be moving to 4.0 for awhile so i don't have the easy option 回答1: Memory Leak Hotfixes for WPF 3.5 SP1 http://www