jesseduffield / jesseduffield/lazygit

Possible memory leak

Open
#3,497 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
Enormous memory usage

**To Reproduce**
I used Lazygit on Friday, and keep it open till Monday

**Screenshots**
After start:
![lg-on-start](https://github.com/jesseduffield/lazygit/assets/1245827/8a9ce2d3-a17e-458a-bc25-41e38ffda5ea)
After 2 days of doing nothing:
![lg-after-weekend](https://github.com/jesseduffield/lazygit/assets/1245827/fb9ef63c-9be4-48b7-9d07-699be6c7ff1e)

**Version info:**
commit=3675570a391b1a49ddd198b4c7e71e17701d4404, build date=2024-03-23T09:09:11Z, build source=binaryRelease, version=0.41.0, os=windows, arch=amd64, git version=2.37.2.windows.2
OS name: Microsoft Windows 10 Pro
OS version: 10.0.19045 Н/Д build 19045
Jetbrains Rider 2024.1 Build #RD-241.14494.307, built on April 8, 2024
Powershell 7.4.1
Windows Terminal 1.19.10821.0

**Additional context**
I noticed that Lazygit become very laggy, UI rendering is slow, and checked the Task Manager. Jetbrains Rider on the background with git plugin enabled.

edit: added OS info, rider

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.