Skip to content

Blazor server app having memory leak #30210

@PiramanayagamR

Description

@PiramanayagamR

Describe the bug

I have faced the memory leak issue in Blazor server side application.
By default, the memory consumed (Ex: 76.7 MB) in empty Blazor application. If we open the application in new tabs then memory has been increased gradually (77.6 MB, 78.7 MB etc). But while closing the browser tabs is not cleared.

To Reproduce

  1. Create a new Blazor Server-Side application.
  2. Run the application.
  3. See the Diagnostic tools process memory tab. (Ex: 76.7 MB)
  4. Open this application with different tabs.
  5. See the Diagnostic tools process memory tab. (Ex: 77.6 MB, 78.7 MB etc)
  6. Now close these tabs.
  7. See the Diagnostic tools process memory tab. (Ex: 77.6 MB, 78.7 MB etc)
  8. Output: Memory is not cleared for closing tabs.

Exceptions (if any)

Capture

Further technical details

  • Blazor server APP 5.0
  • VS 2019

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