ExpressLRS / ExpressLRS/ExpressLRS-Configurator

Excessive Git for Windows Processes Causing Performance Issues in ELRS Configurator 1.6.0 on ARM Windows 11

Open
#552 4 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
TypeScript
Stars
849
Forks
179
Avg merge
1h 34m
Merged PRs (30d)
1

Description

## Expected Behavior

When starting the ELRS Configurator software, only a few Git for Windows processes should be running in the Task Manager, consuming a normal amount of memory and CPU usage. The target device list should be displayed.

## Current Behavior

When opening the ELRS Configurator software, thousands of Git for Windows processes are created, causing a sudden increase in memory and CPU usage. It is unable to retrieve the target device list.

## Steps to Reproduce
1.Install [ExpressLRS-Configurator-Setup-1.6.0.exe](https://github.com/ExpressLRS/ExpressLRS-Configurator/releases/download/v1.6.0/ExpressLRS-Configurator-Setup-1.6.0.exe) on ARM version of Windows 11.
2. Open the ELRS Configurator.
3. Check the Task Manager for the number of Git for Windows processes and the impact on memory and CPU usage.

2023-07-27 14 14 22

![20230727](https://github.com/ExpressLRS/ExpressLRS-Configurator/assets/106467132/a0deecb6-9826-45d4-8418-a20ba8845b47)

## Possible Solution (Not obligatory)

Replacing the PortableGit version 2.30.1.1 in the “ExpressLRS Configurator\dependencies\windows_amd64” folder of the software directory with a different PortableGit version 2.33.1.1 resolves the issue.
[PortableGit-prerelease-2.33.1.windows.1-19-g152cd02618-20211025122812-arm64.7z](https://github.com/dennisameling/git/releases/download/v2.31.1.windows.1-arm64/PortableGit-prerelease-2.33.1.windows.1-19-g152cd02618-20211025122812-arm64.7z.exe)
截屏2023-07-27 15 24 11

## Context

I encountered this bug while using the ARM version of Windows 11 and installing ELRS Configurator version 1.6.0. The excessive number of Git for Windows processes consumed all available memory and CPU resources, causing performance issues. Upon investigation, I found that the issue was related to the version of PortableGit in the dependencies folder. Replacing it with a different version of Git resolved the problem.

## Your Environment

- Operating System and version: Windows 11 ARM on MacOS 13.4.1 Parallels Desktop 18 VM environment
- TX hardware:
- RX hardware:

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.