Michael Spannbauer
Michael Spannbauer

Reputation: 109

What causes UnmanagedMemoryStream in WPF (Memory Leak)?

Profiling my .NET Application shows me that there is a big delta in UnmangedMemoryStreams.

It seems they are created from some resource loading.

Anyone has an idea what can cause this loading or how to debug this?

Screenshots from Profiling:

http://imgur.com/a/eO76W

http://imgur.com/a/eO76W

Upvotes: 1

Views: 847

Answers (1)

Michael Spannbauer
Michael Spannbauer

Reputation: 109

Like said in the comments, FontFamily is causing the leak. More details: WPF TextBlock memory leak when using Font

Upvotes: 1

Related Questions