Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
8.26k stars 317 forks source link

BUG: Memory leak during language change? #2785

Open Yusyuriv opened 5 months ago

Yusyuriv commented 5 months ago

Checks

Problem Description

If you keep changing the language in settings, the memory usage keeps rising. Nobody will be changing the language hundreds of times in a row, so it's very low priority, but it's still something that should probably be looked at at some point.

To Reproduce

  1. Open Settings window in Flow Launcher
  2. Scroll to the bottom, where the language combobox is located
  3. Click on it and select any language
  4. Put the mouse pointer over the language combobox and quickly scroll up and down a bunch of times

You should see increased memory usage.

Screenshots

Before, just after opening Settings window: image

After changing the language a lot: image

Flow Launcher Version

1.18.0

Windows Build Number

10.0.23580.1000

Error Log

No response

z1nc0r3 commented 4 months ago

Is this still happening? I tried to reproduce the issue, but the memory usage stayed almost the same always. However, the CPU usage increased a little.

Yusyuriv commented 4 months ago

Yes, both on the latest release and on the dev branch.

Before: before — dev branch

After changing the language a lot: after — dev branch

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh