Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lilyknight39 opened this issue Jul 27, 2023 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@lilyknight39
Copy link

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

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
截屏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:
@lilyknight39 lilyknight39 added the bug Something isn't working label Jul 27, 2023
@lilyknight39 lilyknight39 changed the title Excessive Git for Windows Processes Causing Performance Issues in ELRS Configurator on ARM Windows 11 Excessive Git for Windows Processes Causing Performance Issues in ELRS Configurator 1.6.0 on ARM Windows 11 Jul 27, 2023
@justinlampley
Copy link
Collaborator

Can you try using the latest Portable GIT release from the git for windows project and see if that fixes the issue? https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.3/PortableGit-2.41.0.3-64-bit.7z.exe

@jurgelenas jurgelenas added the good first issue Good for newcomers label Jun 15, 2024
@jurgelenas
Copy link
Member

@justinlampley would you be able to upgrade portable git in our tree?

@jurgelenas
Copy link
Member

@lilyknight39 would you be able to test this nightly build to see if it fixes your issue? https://github.com/ExpressLRS/ExpressLRS-Configurator-Nightlies/releases/tag/v20241113.35754.0

@lilyknight39
Copy link
Author

@lilyknight39 would you be able to test this nightly build to see if it fixes your issue? https://github.com/ExpressLRS/ExpressLRS-Configurator-Nightlies/releases/tag/v20241113.35754.0

Thank you for your continuous support and responses regarding the issue I raised.

After testing the official release of version 1.7.7, I can confirm that the issue still persists (as shown in the attached screenshot). However, while using the version you provided (v20241113.35754.0), the repeated Git process issue no longer occurs, and I’m able to fetch the firmware version list successfully. Unfortunately, I am still unable to complete a firmware build, and I have attached the error log for your reference.

I also want to apologize for my recent absence and for closing the issue prematurely. This problem occurred on a virtual machine on my Mac, and I have since switched to the macOS version of ExpressLRS Configurator, which works as expected. However, the issue might still appear on certain Windows on ARM devices.

Due to personal and professional commitments, I am no longer as involved in the drone racing community, though it’s undoubtedly an amazing group. If I can assist with testing or further troubleshooting, I will be more than happy to help. I appreciate your patience and attention to this matter.

スクリーンショット 2024-11-13 18 35 59 スクリーンショット 2024-11-13 18 40 05

expressslrs-configurator.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants