Skip to content

cmdpal memory leak. #45450

@huoyan1231

Description

@huoyan1231

Microsoft PowerToys version

0.97.1

Installation method

GitHub

Area(s) with issue?

Command Palette

Steps to reproduce

I'm not sure of the specific triggering method; in my case, it just takes a long time to start cmdpal.

✔️ Expected Behavior

cmdpal has normal memory usage (<1GB)

❌ Actual Behavior

cmdpal and its plugins (I only installed one) together take up more than 4GB.

Additional Information

cmdpal develops a memory leak after running for a long time (more than several hours), using over 2GB of memory in my case. I also have the steampul plugin installed, which also uses over 1GB of memory. When I manually reclaim memory using memreduct in this situation, cmdpalUI.exe temporarily returns to normal memory usage, but steampul still maintains over 1GB of memory usage.

Other Software

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-Author-FeedbackThe original author of the issue/PR needs to come back and respond to somethingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Command PaletteRefers to the Command Palette utility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions