Flow-Launcher / Flow-Launcher/Flow.Launcher

BUG: High memory usage

Open
#2,940 32 comments 0 reactions 0 assignees View on GitHub
bug keep-fresh Needs investigation
Dominant language
C#
Stars
15.6k
Forks
644
Avg merge
16h 51m
Merged PRs (30d)
3

Description

### 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

I just installed Flow Launcher onto my laptop running Windows 11, and it is using around 600MB of memory, whereas on my desktop (Windows 10) it only uses about 20MB. What could be the cause of this high memory usage?

### To Reproduce

1. Install Flow Launcher v1.19.0
2. Observe high memory usage

### Screenshots

_No response_

### Flow Launcher Version

1.19.0

### Windows Build Number

10.0.22631.3880

### Error Log

```shell

13:32:56.2331-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
13:32:56.2331-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player Legacy.lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
13:32:56.2331-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
13:32:56.2907-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
13:32:56.2907-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
13:32:56.2907-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
13:43:14.4483-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
13:43:14.4483-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player Legacy.lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
13:43:14.4483-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
13:43:14.4755-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
13:43:14.4755-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
13:43:14.4755-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
13:52:26.3252-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
13:52:26.3252-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player Legacy.lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
13:52:26.3252-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
13:52:26.3748-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
13:52:26.3748-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
13:52:26.3748-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
18:54:34.6740-04:00 - INFO - App.OnStartup - Begin Flow Launcher startup ----------------------------------------------------
18:54:34.6740-04:00 - INFO - App.OnStartup - Runtime info:
Flow Launcher version: 1.19.0
OS Version: 22631.3880
IntPtr Length: 8
x64: True
18:54:35.3419-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <8ms>
18:54:35.3419-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <6ms>
18:54:35.3419-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <5ms>
18:54:35.3419-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms>
18:54:35.3713-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
18:54:35.3848-04:00 - INFO - ImageLoader.Initialize - Preload images cost <21ms>
18:54:35.3848-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <59ms>
18:54:35.4034-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <64ms>
18:54:35.4034-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <74ms>
18:54:35.4034-04:00 - INFO - ImageLoader.Initialize - Number of preload images is <2>, Images Number: 2, Unique Items 2
18:54:35.4034-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <22ms>
18:54:35.4034-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <87>
18:54:35.4034-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <56>
18:54:35.4192-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <79ms>
18:54:35.4665-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <146ms>
18:54:35.4665-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
18:54:35.4665-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
18:54:35.4665-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json
18:54:35.4665-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <147ms>
18:54:35.5034-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <175ms>
18:54:35.6315-04:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 181 plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
18:54:35.6315-04:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 181 plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
18:54:35.6361-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <303ms>
18:54:36.2258-04:00 - INFO - App.OnStartup - Dependencies Info:
Python Path:
Node Path:
18:54:37.0546-04:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
18:54:37.0619-04:00 - INFO - App.OnStartup - Startup cost <2511ms>
18:58:49.1741-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
18:58:49.1741-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player Legacy.lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
18:58:49.1741-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
18:58:49.2212-04:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
18:58:49.2212-04:00 - ERROR - -
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
18:58:49.2212-04:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------
19:09:01.3053-04:00 - INFO - App.OnStartup - Begin Flow Launcher startup ----------------------------------------------------
19:09:01.3092-04:00 - INFO - App.OnStartup - Runtime info:
Flow Launcher version: 1.19.0
OS Version: 22631.3880
IntPtr Length: 8
x64: True
19:09:01.8480-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <4ms>
19:09:01.8480-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms>
19:09:01.8480-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms>
19:09:01.8480-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <20ms>
19:09:01.8777-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <33ms>
19:09:01.8777-04:00 - INFO - ImageLoader.Initialize - Preload images cost <27ms>
19:09:01.8777-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <39ms>
19:09:01.8872-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
19:09:01.8872-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <16ms>
19:09:01.8872-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <63ms>
19:09:01.8872-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <88>
19:09:01.8872-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <56>
19:09:01.8872-04:00 - INFO - ImageLoader.Initialize - Number of preload images is <2>, Images Number: 2, Unique Items 2
19:09:01.9120-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <66ms>
19:09:01.9433-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <109ms>
19:09:01.9532-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <130ms>
19:09:01.9640-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
19:09:01.9640-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
19:09:01.9640-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json
19:09:01.9811-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <153ms>
19:09:02.1010-04:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 181 plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json
19:09:02.1076-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <264ms>
19:09:02.8398-04:00 - INFO - App.OnStartup - Dependencies Info:
Python Path:
Node Path:
19:09:03.7240-04:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
19:09:03.7391-04:00 - INFO - App.OnStartup - Startup cost <2542ms>
19:10:52.3901-04:00 - INFO - App.OnStartup - Begin Flow Launcher startup ----------------------------------------------------
19:10:52.3901-04:00 - INFO - App.OnStartup - Runtime info:
Flow Launcher version: 1.19.0
OS Version: 22631.3880
IntPtr Length: 8
x64: True
19:10:52.7565-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <6ms>
19:10:52.7565-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <5ms>
19:10:52.7565-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <5ms>
19:10:52.7565-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms>
19:10:52.7734-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
19:10:52.7855-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <38ms>
19:10:52.7855-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <42ms>
19:10:52.7855-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <47ms>
19:10:52.7855-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <16ms>
19:10:52.7855-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <88>
19:10:52.7855-04:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <56>
19:10:52.7855-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <48ms>
19:10:52.8197-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <70ms>
19:10:52.8457-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <106ms>
19:10:52.8510-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
19:10:52.8510-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
19:10:52.8510-04:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json
19:10:52.8580-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <113ms>
19:10:53.0035-04:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 181 plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
19:10:53.0104-04:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <262ms>
19:10:53.0938-04:00 - INFO - ImageLoader.Initialize - Preload images cost <305ms>
19:10:53.1035-04:00 - INFO - ImageLoader.Initialize - Number of preload images is <14>, Images Number: 14, Unique Items 14
19:10:53.5072-04:00 - INFO - App.OnStartup - Dependencies Info:
Python Path:
Node Path:
19:10:54.1494-04:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
19:10:54.1695-04:00 - INFO - App.OnStartup - Startup cost <1896ms>

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.