Skip to content

[BUG] Memory leak using ReactiveUI with Blazor Web Assembly #2377

@RyanMelenaNoesis

Description

@RyanMelenaNoesis

Describe the bug
While setting up a simple test app to explore the usage of ReactiveUI with Blazor (client-side web assembly) I ran into what appears to be a memory leak causing excessive garbage collection followed by an application crash with an OutOfMemoryException. Any insight would be appreciated.

Steps To Reproduce

  1. Pull down example project here
  2. Run project
  3. Open browser debug console
  4. Notice that after some time the console will begin showing GC messages and the counter will slow down and eventually the page will crash

Expected behavior
Counter will increment without memory leak

Screenshots
image

Environment

  • OS: Windows
  • Version: 10
  • Device: Dell XPS-15

Additional context
console.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions