Skip to content

Dispatcher MemoryLeak #6412

@IAmTheCShark

Description

@IAmTheCShark

When investigating a memory leak using a process dump from a client, I noticed that there are lots of Dispatchers

image

When you take a close look on the first screenshot at paths to root it looks like Dispatchers are holding references of each other.
To my understanding a Dispatcher is connected to a Thread, so how can this happen?

The actual problem is that those dispatchers seem to hold lots of references

image
image
image

Sadly I do not know how to reproduce this, I only have the process dump (3.5 GB).
The Application uses lots of FlowDocuments and some WindowsFormsHosts.

Observed in .net 4.8 on a TerminalServer without RemoteGFX (software rendering).
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more informationNot enough information has been provided. Please share more detail as requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions