How to avoid massive memory leaks in WPF on .Net 3.5?

When I run my application targeting .Net 3.5, it has massive memory leaks. 50mb every time I assign UserControl to local ref. I only create one instance of each UserControl. If I compile and run the same .Net 4.0-oriented code, everything works fine, hovering around the 50mb mark.

Is this known from 3.5? That is, it can not be used in products?

/ My clients have only 3.5 and will not migrate to 4.0 for a while, so I don't have a simple option

+5
source share
2 answers

, , , ? - , ? , . , , ?

+4

All Articles