Skip to content

[Bug]: Portmaster UI (WebView2) memory leak on Windows 11 #2211

Description

@JeetKarena
Image

What happened?

When Portmaster is left running idle or resumed after ~15 minutes, its UI background process (WebView2 Manager) continuously consumes excessive memory, reaching over 300 MB of RAM.

As seen in Task Manager / PC Manager:

  • WebView2 Manager: ~308.2 MB
  • portmaster-core: ~87.6 MB
  • Portmaster: ~6.9 MB

Total memory footprint exceeds 400 MB combined during idle.


What did you expect to happen?

Portmaster's UI process (WebView2 Manager) should maintain a low and stable memory footprint during idle states rather than accumulating memory up to 300+ MB.


How did you reproduce it?

  1. Launch Portmaster on Windows 11.
  2. Leave the system idle or resume system activity after roughly 15 minutes.
  3. Open Windows Task Manager / Microsoft PC Manager to inspect RAM usage for WebView2 Manager.

Environment & System Details:

  • OS: Windows 11
  • Affected Component: WebView2 Manager / Portmaster UI frontend

Debug Information:

Log files and screenshot attached below.

2026-08-01_11-15-36.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugTYPE: a report on something that isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions