Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

BUG: Memory leak during language change

Open Yusyuriv opened this issue 1 year ago • 5 comments

Checks

  • [X] I have checked that this issue has not already been reported.

  • [X] I am using the latest version of Flow Launcher.

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

Yusyuriv avatar Jun 16 '24 20:06 Yusyuriv

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.

z1nc0r3 avatar Jul 15 '24 07:07 z1nc0r3

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

Before: before — dev branch

After changing the language a lot: after — dev branch

Yusyuriv avatar Jul 15 '24 11:07 Yusyuriv

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] avatar Sep 14 '24 01:09 github-actions[bot]

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] avatar Nov 17 '24 02:11 github-actions[bot]

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] avatar Jan 25 '25 01:01 github-actions[bot]